let playercmd lua hook run during "spectator" input crap lmao

This commit is contained in:
Alug committed 2025-01-02 16:55:20 +01:00
1 parent 0c0f52c38c
commit dfdea068ef
1 file changed
+3
+3
View File
@@ -954,6 +954,9 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
else
rd = false;
if (gamestate == GS_LEVEL)
LUA_HookTiccmd(player, cmd, HOOK(PlayerCmd));
return;
}