hedgewars/uScript.pas
changeset 13747 cb2857f55130
parent 13746 e8f26bc793d9
child 13748 d7b72ea8d136
--- a/hedgewars/uScript.pas	Sun Sep 02 22:02:15 2018 +0200
+++ b/hedgewars/uScript.pas	Sun Sep 02 22:05:45 2018 +0200
@@ -157,7 +157,10 @@
     else
         s:= intro + ': ' + s;
     WriteLnToConsole(s);
-    AddChatString(#5 + s);
+    if isWarning then
+        AddChatString(#0 + s)
+    else
+        AddChatString(#5 + s);
     if cTestLua and (not isWarning) then
         halt(HaltTestLuaError);
 end;