diff --git a/Content.Shared/Prying/Systems/PryingSystem.cs b/Content.Shared/Prying/Systems/PryingSystem.cs index 36e42723df..7271258f5c 100644 --- a/Content.Shared/Prying/Systems/PryingSystem.cs +++ b/Content.Shared/Prying/Systems/PryingSystem.cs @@ -167,10 +167,19 @@ private void OnDoAfter(EntityUid uid, DoorComponent door, DoorPryDoAfterEvent ar return; } - // TODO: When we get airlock prediction make this predicted. + // TODO: When we get airlock prediction make this fully predicted. // When that happens also fix the checking function in the Client AirlockSystem. if (args.Used != null && comp != null) - _audioSystem.PlayPvs(comp.UseSound, args.Used.Value); + { + if (HasComp(uid)) + { + _audioSystem.PlayPvs(comp.UseSound, args.Used.Value); + } + else + { + _audioSystem.PlayPredicted(comp.UseSound, args.Used.Value, args.User); + } + } var ev = new PriedEvent(args.User); RaiseLocalEvent(uid, ref ev);