fix on_block_tick triggered while paused

This commit is contained in:
MihailRis 2025-12-15 23:54:45 +03:00
parent c3c343ffdb
commit 4d53eb97c3

View file

@ -523,8 +523,10 @@ function __process_post_runnables()
fn_audio_reset_fetch_buffer()
debug.pull_events()
network.__process_events()
block.__process_register_events()
block.__perform_ticks(time.delta())
if not hud or not hud.is_paused() then
block.__process_register_events()
block.__perform_ticks(time.delta())
end
end
function time.post_runnable(runnable)