hedgewars/uScript.pas
changeset 10078 8572d1f8b2f0
parent 10040 4ac87acbaed9
child 10108 c68cf030eded
equal deleted inserted replaced
10077:ca67740f19b2 10078:8572d1f8b2f0
   268         lua_pushnil(L);
   268         lua_pushnil(L);
   269         end
   269         end
   270     else
   270     else
   271         begin
   271         begin
   272         for i:= 1 to lua_gettop(L) do
   272         for i:= 1 to lua_gettop(L) do
   273             GameFlags := GameFlags and not(LongWord(lua_tointeger(L, i)));
   273             GameFlags := GameFlags and (not LongWord(lua_tointeger(L, i)));
   274         ScriptSetInteger('GameFlags', GameFlags);
   274         ScriptSetInteger('GameFlags', GameFlags);
   275         end;
   275         end;
   276     lc_disablegameflags:= 0;
   276     lc_disablegameflags:= 0;
   277 end;
   277 end;
   278 
   278