mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
fix: remove unneeded delta in SharedAudioSystem (#6055)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user