]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix doubled gas mask action message (#27463)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Mon, 29 Apr 2024 03:02:30 +0000 (20:02 -0700)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 03:02:30 +0000 (13:02 +1000)
Fix doubled message

Co-authored-by: Plykiya <plykiya@protonmail.com>
Content.Shared/Clothing/EntitySystems/MaskSystem.cs

index d99777929f46df47e6ead59e8a8104ed3eb93b71..2a4383279a5ec27c13816939d594f6a9e981423e 100644 (file)
@@ -45,7 +45,7 @@ public sealed class MaskSystem : EntitySystem
 
         var dir = mask.IsToggled ? "down" : "up";
         var msg = $"action-mask-pull-{dir}-popup-message";
-        _popupSystem.PopupEntity(Loc.GetString(msg, ("mask", uid)), args.Performer, args.Performer);
+        _popupSystem.PopupClient(Loc.GetString(msg, ("mask", uid)), args.Performer, args.Performer);
 
         ToggleMaskComponents(uid, mask, args.Performer, mask.EquippedPrefix);
     }