Skip to content
Snippets Groups Projects
Commit defc7c16 authored by Prisima the Fox's avatar Prisima the Fox
Browse files

Oops; PlayerQuit isn't a boolean!

parent fcf2fe79
Branches
Tags
No related merge requests found
...@@ -799,12 +799,12 @@ void LUAh_NetArchiveHook(lua_CFunction archFunc) ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment