Fixed a stupid error
This commit is contained in:
parent
c3c249c2f8
commit
c52f6c9f97
|
@ -11,3 +11,5 @@
|
||||||
*.swp
|
*.swp
|
||||||
*~
|
*~
|
||||||
/steam_appid.txt
|
/steam_appid.txt
|
||||||
|
/*.so
|
||||||
|
/breakhack.run
|
||||||
|
|
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue