mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix on_block_tick triggered while paused
This commit is contained in:
parent
c3c343ffdb
commit
4d53eb97c3
1 changed files with 4 additions and 2 deletions
|
|
@ -523,8 +523,10 @@ function __process_post_runnables()
|
||||||
fn_audio_reset_fetch_buffer()
|
fn_audio_reset_fetch_buffer()
|
||||||
debug.pull_events()
|
debug.pull_events()
|
||||||
network.__process_events()
|
network.__process_events()
|
||||||
block.__process_register_events()
|
if not hud or not hud.is_paused() then
|
||||||
block.__perform_ticks(time.delta())
|
block.__process_register_events()
|
||||||
|
block.__perform_ticks(time.delta())
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function time.post_runnable(runnable)
|
function time.post_runnable(runnable)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue