From 58e28b5136261d4b308a1882fc64c542575d40e7 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 2 Feb 2024 04:53:46 +0000 Subject: [PATCH] fix spray paint popup spam on invalid door (#24857) fix popup spam on invalid door Co-authored-by: deltanedas <@deltanedas:kde.org> --- Content.Shared/SprayPainter/SharedSprayPainterSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/SprayPainter/SharedSprayPainterSystem.cs b/Content.Shared/SprayPainter/SharedSprayPainterSystem.cs index c0f0f6d115..1e784797e3 100644 --- a/Content.Shared/SprayPainter/SharedSprayPainterSystem.cs +++ b/Content.Shared/SprayPainter/SharedSprayPainterSystem.cs @@ -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; } -- 2.51.2