From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Fri, 2 Feb 2024 04:53:46 +0000 (+0000) Subject: fix spray paint popup spam on invalid door (#24857) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=58e28b5136261d4b308a1882fc64c542575d40e7;p=space-station-14.git fix spray paint popup spam on invalid door (#24857) fix popup spam on invalid door Co-authored-by: deltanedas <@deltanedas:kde.org> --- 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; }