mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
ALL7EMERALDS is a boolean you idiot, not an integer.
This commit is contained in:
parent
f7c463418e
commit
1e62be15ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue