diff --git a/src/g_game.c b/src/g_game.c index ca02ac7e3126bc30c13cd08af40d5d9e58f65b09..8940635851adbbf56b95e296c1fa908da642b828 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1722,7 +1722,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer) // At this point, cmd doesn't contain the final angle yet, // So we need to temporarily transform it so Lua scripters // don't need to handle it differently than in other hooks. - if (addedtogame) + if (addedtogame && gamestate == GS_LEVEL) { INT16 extra = ticcmd_oldangleturn[forplayer] - player->oldrelangleturn; INT16 origangle = cmd->angleturn;