diff --git a/src/p_tick.c b/src/p_tick.c index 3ff621b13..20460a589 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -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);