hedgewars/uWorld.pas
changeset 12792 a6f51ac9a3f2
parent 12724 637b1987570e
child 12798 575c0de98505
--- a/hedgewars/uWorld.pas	Fri Oct 27 06:35:04 2017 +0200
+++ b/hedgewars/uWorld.pas	Fri Oct 27 17:50:20 2017 +0200
@@ -171,7 +171,7 @@
 g:= ''; // no text/things to note yet
 
 // add custom goals from lua script if there are any
-if LuaGoals <> '' then
+if LuaGoals <> ansistring('') then
     g:= LuaGoals + '|';
 
 // check different game flags