fix spray paint popup spam on invalid door (#24857)
fix popup spam on invalid door Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -126,7 +126,7 @@ public abstract class SharedSprayPainterSystem : EntitySystem
|
|||||||
if (!group.StylePaths.TryGetValue(style.Name, out var sprite))
|
if (!group.StylePaths.TryGetValue(style.Name, out var sprite))
|
||||||
{
|
{
|
||||||
string msg = Loc.GetString("spray-painter-style-not-available");
|
string msg = Loc.GetString("spray-painter-style-not-available");
|
||||||
_popup.PopupEntity(msg, args.User, args.User);
|
_popup.PopupClient(msg, args.User, args.User);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user