fix check for wrong value
authorsheepluva
Fri, 25 Mar 2016 15:52:49 +0100
changeset 11622 aed348042a77
parent 11621 5b31f61e0723
child 11623 bc83e11e5ee7
fix check for wrong value
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Fri Mar 25 15:40:44 2016 +0300
+++ b/hedgewars/uScript.pas	Fri Mar 25 15:52:49 2016 +0100
@@ -2603,7 +2603,7 @@
 
         case lua_tointeger(L, 1) of
             HaltTestSuccess : rstring:= 'Success';
-            HaltTestLuaError: rstring:= 'FAILED';
+            HaltTestFailed: rstring:= 'FAILED';
         else
             begin
             LuaCallError('Parameter must be either ' + params, call, params);