author | unc0rr |
Sun, 16 Feb 2014 22:51:25 +0400 | |
changeset 10143 | 3636106f5b70 |
parent 10142 | adb804cb2638 |
child 10144 | b9d5a91605c7 |
--- a/hedgewars/uScript.pas Sun Feb 16 22:06:55 2014 +0400 +++ b/hedgewars/uScript.pas Sun Feb 16 22:51:25 2014 +0400 @@ -2033,12 +2033,12 @@ begin LuaParameterCountError('EndLuaAPITest', 'LUA_API_TEST_SUCCESSFUL or LUA_API_TEST_FAILED', lua_gettop(L)); lua_pushnil(L); + lc_endluatest:= 0; end else begin WriteLnToConsole('Lua test finished'); halt(lua_tointeger(L, 1)); - lc_endluatest:= 0; end; end; ///////////////////