Fix LUAh_SeenPlayer not working

This commit is contained in:
Jaime Passos 2020-02-17 23:06:38 -03:00
parent 9bd9e667c5
commit 369fd8e35f
1 changed files with 1 additions and 1 deletions

View File

@ -1594,7 +1594,7 @@ boolean LUAh_SeenPlayer(player_t *player, player_t *seenfriend)
hook_p hookp;
boolean hasSeenPlayer = true;
if (!gL || !(hooksAvailable[hook_SeenPlayer/8] & (1<<(hook_SeenPlayer%8))))
return 0;
return true;
lua_settop(gL, 0);
hud_running = true; // local hook