]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix spray paint popup spam on invalid door (#24857)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Fri, 2 Feb 2024 04:53:46 +0000 (04:53 +0000)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2024 04:53:46 +0000 (15:53 +1100)
fix popup spam on invalid door

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.Shared/SprayPainter/SharedSprayPainterSystem.cs

index c0f0f6d1153de703b7e1d53f0661dfd9b7ea257d..1e784797e3388d422408fadab22fa650a45f4bb0 100644 (file)
@@ -126,7 +126,7 @@ public abstract class SharedSprayPainterSystem : EntitySystem
         if (!group.StylePaths.TryGetValue(style.Name, out var sprite))
         {
             string msg = Loc.GetString("spray-painter-style-not-available");
-            _popup.PopupEntity(msg, args.User, args.User);
+            _popup.PopupClient(msg, args.User, args.User);
             return;
         }