fix: remove unneeded delta in SharedAudioSystem (#6055)

This commit is contained in:
Perry Fraser
2025-07-11 19:56:22 -04:00
committed by GitHub
parent 9d00b1f093
commit fec477bf41
2 changed files with 1 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ END TEMPLATE-->
### Bugfixes
* Pooled integration instances returned by `RobustIntegrationTest` are now treated as non-idle, for consistency with non-pooled startups.
* `SharedAudioSystem.SetState` no longer calls `DirtyField` on `PlaybackPosition`, an unnetworked field.
### Other

View File

@@ -195,7 +195,6 @@ public abstract partial class SharedAudioSystem : EntitySystem
component.PlaybackPosition = (float) (Timing.CurTime - component.AudioStart).TotalSeconds;
DirtyField(entity.Value, component, nameof(AudioComponent.AudioStart));
DirtyField(entity.Value, component, nameof(AudioComponent.PlaybackPosition));
}
// If we were stopped then played then restart audiostart to now.