only update director if consoleplayers specs or in demo playback

dont need to update this ever if we dont even use it lol
This commit is contained in:
Alug committed 2024-07-21 14:42:48 +02:00
1 parent 74a68b1462
commit 69f7d669c8
1 file changed
+2 -1
+2 -1
View File
@@ -830,7 +830,8 @@ void P_Ticker(boolean run)
PS_STOP_TIMING(ps_lua_postthinkframe_time);
}
K_UpdateDirector();
if (gamestate == GS_LEVEL && (!playeringame[consoleplayer] || players[consoleplayer].spectator || demo.playback))
K_UpdateDirector();
// Always move the camera.
for (i = 0; i <= splitscreen; i++)