Fix Lua DisplaySystemMessage writing twice
This commit is contained in:
@@ -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.")]
|
||||||
|
|||||||
Reference in New Issue
Block a user