ALL7EMERALDS is a boolean you idiot, not an integer.

This commit is contained in:
JTE 2015-05-20 17:29:32 -04:00
parent f7c463418e
commit 1e62be15ce

View file

@ -156,7 +156,7 @@ static int lib_getsecspecial(lua_State *L)
static int lib_all7emeralds(lua_State *L) static int lib_all7emeralds(lua_State *L)
{ {
lua_pushinteger(L, ALL7EMERALDS(luaL_checkinteger(L, 1))); lua_pushboolean(L, ALL7EMERALDS(luaL_checkinteger(L, 1)));
return 1; return 1;
} }