diff --git a/.gitignore b/.gitignore index f64b1a7..d895019 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ *.swp *~ /steam_appid.txt +/*.so +/breakhack.run diff --git a/src/map_lua.c b/src/map_lua.c index 7cf4bf4..e812299 100644 --- a/src/map_lua.c +++ b/src/map_lua.c @@ -215,7 +215,7 @@ static Stats lua_checkstats(lua_State *L, int index) { // Confirm table - if (lua_istable(L, index)) { + if (!lua_istable(L, index)) { fatal("Bad table provided"); }