Revert "make SharedAudioSystem.Stop not return early when the current tick has already been predicted" (#6375)

Revert "make SharedAudioSystem.Stop not return early when the current tick ha…"

This reverts commit c41d63be27.
This commit is contained in:
Pieter-Jan Briers
2026-01-19 20:40:31 +01:00
committed by GitHub
parent df98bca4bc
commit 21581df93d

View File

@@ -455,7 +455,7 @@ public abstract partial class SharedAudioSystem : EntitySystem
if (uid == null || !Resolve(uid.Value, ref component, false))
return null;
if (_netManager.IsClient && !IsClientSide(uid.Value))
if (!Timing.IsFirstTimePredicted || (_netManager.IsClient && !IsClientSide(uid.Value)))
return null;
QueueDel(uid);