From f85f45674f7e43e2a7b9559e6564b4082de641ed Mon Sep 17 00:00:00 2001 From: Menshin Date: Mon, 24 Apr 2023 22:41:46 +0200 Subject: [PATCH] Fix handcuff raising assert on applying/removing (#15658) --- Content.Shared/Cuffs/SharedCuffableSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Cuffs/SharedCuffableSystem.cs b/Content.Shared/Cuffs/SharedCuffableSystem.cs index 35898addb3..aad5f68952 100644 --- a/Content.Shared/Cuffs/SharedCuffableSystem.cs +++ b/Content.Shared/Cuffs/SharedCuffableSystem.cs @@ -486,7 +486,7 @@ namespace Content.Shared.Cuffs } } - _audio.PlayPvs(handcuffComponent.StartCuffSound, handcuff); + _audio.PlayPredicted(handcuffComponent.StartCuffSound, handcuff, user); } /// @@ -567,7 +567,7 @@ namespace Content.Shared.Cuffs if (attempt.Cancelled) return; - _audio.PlayPvs(cuff.EndUncuffSound, target); + _audio.PlayPredicted(cuff.EndUncuffSound, target, user); cuffable.Container.Remove(cuffsToRemove);