throw rumble ticker into right place

This commit is contained in:
Alug committed 2024-07-30 00:16:19 +02:00
1 parent 1b3977436d
commit 00096d340f
1 file changed
+6 -6
+6 -6
View File
@@ -482,12 +482,6 @@ void P_Ticker(boolean run)
}
#endif
}
// Apply rumble to local players
if (!demo.playback)
{
P_DeviceRumbleTick();
}
ps_lua_mobjhooks.value.i = 0;
ps_checkposition_calls.value.i = 0;
@@ -522,6 +516,12 @@ void P_Ticker(boolean run)
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
P_PlayerAfterThink(&players[i]);
// Apply rumble to local players
if (!demo.playback)
{
P_DeviceRumbleTick();
}
PS_START_TIMING(ps_lua_thinkframe_time);
LUAh_ThinkFrame();
PS_STOP_TIMING(ps_lua_thinkframe_time);