Oops; PlayerQuit isn't a boolean!

This commit is contained in:
Prisima the Fox 2016-10-20 23:26:41 -04:00
parent fcf2fe79e0
commit defc7c1645
1 changed files with 2 additions and 2 deletions

View File

@ -799,12 +799,12 @@ void LUAh_NetArchiveHook(lua_CFunction archFunc)
// stack: tables
}
boolean LUAh_PlayerQuit(player_t *plr, int reason)
void LUAh_PlayerQuit(player_t *plr, int reason)
{
hook_p hookp;
boolean hooked = false;
if (!gL || !(hooksAvailable[hook_PlayerQuit/8] & (1<<(hook_PlayerQuit%8))))
return false;
return;
lua_settop(gL, 0);