Fix Lua DisplaySystemMessage writing twice

This commit is contained in:
Curtis Shmyr
2020-06-14 16:48:04 -06:00
committed by abcdefg30
parent 02d462a82c
commit a3f79503ed

View File

@@ -206,8 +206,8 @@ namespace OpenRA.Mods.Common.Scripting
if (string.IsNullOrEmpty(prefix)) if (string.IsNullOrEmpty(prefix))
Game.AddSystemLine(text); Game.AddSystemLine(text);
else
Game.AddSystemLine(prefix, text); Game.AddSystemLine(prefix, text);
} }
[Desc("Displays a debug message to the player, if \"Show Map Debug Messages\" is checked in the settings.")] [Desc("Displays a debug message to the player, if \"Show Map Debug Messages\" is checked in the settings.")]