]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
grenades emit sound on trigger again (#14391)
authorSlava0135 <40753025+Slava0135@users.noreply.github.com>
Mon, 6 Mar 2023 04:34:08 +0000 (07:34 +0300)
committerGitHub <noreply@github.com>
Mon, 6 Mar 2023 04:34:08 +0000 (00:34 -0400)
Content.Server/Sound/EmitSoundSystem.cs

index e4defb8accc2374b56c11810a735dc6ab9d11cde..bc271a8351c691056ef264c4bca37b251c3ed24f 100644 (file)
@@ -47,7 +47,7 @@ public sealed class EmitSoundSystem : SharedEmitSoundSystem
 
     private void HandleEmitSoundOnTrigger(EntityUid uid, EmitSoundOnTriggerComponent component, TriggerEvent args)
     {
-        TryEmitSound(component, args.User);
+        TryEmitSound(component);
         args.Handled = true;
     }
 }