mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 05:41:02 +00:00
Oops; PlayerQuit isn't a boolean!
This commit is contained in:
parent
fcf2fe79e0
commit
defc7c1645
1 changed files with 2 additions and 2 deletions
|
@ -799,12 +799,12 @@ void LUAh_NetArchiveHook(lua_CFunction archFunc)
|
||||||
// stack: tables
|
// stack: tables
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean LUAh_PlayerQuit(player_t *plr, int reason)
|
void LUAh_PlayerQuit(player_t *plr, int reason)
|
||||||
{
|
{
|
||||||
hook_p hookp;
|
hook_p hookp;
|
||||||
boolean hooked = false;
|
boolean hooked = false;
|
||||||
if (!gL || !(hooksAvailable[hook_PlayerQuit/8] & (1<<(hook_PlayerQuit%8))))
|
if (!gL || !(hooksAvailable[hook_PlayerQuit/8] & (1<<(hook_PlayerQuit%8))))
|
||||||
return false;
|
return;
|
||||||
|
|
||||||
lua_settop(gL, 0);
|
lua_settop(gL, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue