Oops; PlayerQuit isn't a boolean!
This commit is contained in:
1 parent
fcf2fe79e0
commit
defc7c1645
1 file changed
+2
-2
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user