mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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()
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue