let playercmd lua hook run during "spectator" input crap lmao
This commit is contained in:
1 parent
0c0f52c38c
commit
dfdea068ef
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user