mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
make SharedAudioSystem.Stop not return early when the current tick has already been predicted (#6137)
1 line diff
This commit is contained in:
committed by
GitHub
parent
28f7d6497e
commit
c41d63be27
@@ -455,7 +455,7 @@ public abstract partial class SharedAudioSystem : EntitySystem
|
||||
if (uid == null || !Resolve(uid.Value, ref component, false))
|
||||
return null;
|
||||
|
||||
if (!Timing.IsFirstTimePredicted || (_netManager.IsClient && !IsClientSide(uid.Value)))
|
||||
if (_netManager.IsClient && !IsClientSide(uid.Value))
|
||||
return null;
|
||||
|
||||
QueueDel(uid);
|
||||
|
||||
Reference in New Issue
Block a user