mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-21 09:59:44 +00:00
add world.get_logic, set_logic 'block_ticks', 'random_ticks' runtime world parameters
This commit is contained in:
parent
bccc6e154f
commit
d0803fce0c
5 changed files with 110 additions and 9 deletions
|
|
@ -197,7 +197,9 @@ local function __process_post_runnables()
|
|||
network.__process_events()
|
||||
if not hud or not hud.is_paused() then
|
||||
internals.process_block_register_events()
|
||||
internals.tick_updating_blocks(time.delta())
|
||||
if world.is_open() and world.get_logic("block_ticks") then
|
||||
internals.tick_updating_blocks(time.delta())
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue