Fixed a stupid error

This commit is contained in:
Linus Probert 2018-09-09 01:25:32 +02:00
parent c3c249c2f8
commit c52f6c9f97
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@
*.swp *.swp
*~ *~
/steam_appid.txt /steam_appid.txt
/*.so
/breakhack.run

View File

@ -215,7 +215,7 @@ static Stats
lua_checkstats(lua_State *L, int index) lua_checkstats(lua_State *L, int index)
{ {
// Confirm table // Confirm table
if (lua_istable(L, index)) { if (!lua_istable(L, index)) {
fatal("Bad table provided"); fatal("Bad table provided");
} }