Maybe fix warning popups for temporary designs.

This commit is contained in:
Ottermandias 2023-09-27 15:02:38 +02:00
parent 38a28871f4
commit 411b83a55f

View file

@ -278,7 +278,7 @@ public class DesignBase
void PrintWarning(string msg) void PrintWarning(string msg)
{ {
if (msg.Length > 0) if (msg.Length > 0 && name != "Temporary Design")
Glamourer.Chat.NotificationMessage($"{msg} ({name})", "Warning", NotificationType.Warning); Glamourer.Chat.NotificationMessage($"{msg} ({name})", "Warning", NotificationType.Warning);
} }