diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-07-03 22:21:40 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-07-03 22:21:40 -0400 |
commit | 047a770ad04fc264039fa5b6109c803bd3d2d258 (patch) | |
tree | 0e1f8278a0bd4b4ff1fcc97cecd3a245c0ceb820 /pipeworks | |
parent | 6d28a6dd1a5dbaaba0e08087220aed861d7a5699 (diff) | |
download | dreambuilder_modpack-047a770ad04fc264039fa5b6109c803bd3d2d258.tar dreambuilder_modpack-047a770ad04fc264039fa5b6109c803bd3d2d258.tar.gz dreambuilder_modpack-047a770ad04fc264039fa5b6109c803bd3d2d258.tar.bz2 dreambuilder_modpack-047a770ad04fc264039fa5b6109c803bd3d2d258.tar.xz dreambuilder_modpack-047a770ad04fc264039fa5b6109c803bd3d2d258.zip |
update pipeworks and technic
Diffstat (limited to 'pipeworks')
-rw-r--r-- | pipeworks/luaentity.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pipeworks/luaentity.lua b/pipeworks/luaentity.lua index 382b0c1..34b6665 100644 --- a/pipeworks/luaentity.lua +++ b/pipeworks/luaentity.lua @@ -362,13 +362,12 @@ local move_entities_globalstep_part2 = function(dtime) end end -local handle_active_blocks_step = 0.2 local handle_active_blocks_timer = 0.1 minetest.register_globalstep(function(dtime) handle_active_blocks_timer = handle_active_blocks_timer + dtime - if handle_active_blocks_timer >= handle_active_blocks_step then - handle_active_blocks_timer = handle_active_blocks_timer - handle_active_blocks_step + if dtime < 0.2 or handle_active_blocks_timer >= (dtime * 3) then + handle_active_blocks_timer = 0.1 move_entities_globalstep_part1(dtime) move_entities_globalstep_part2(dtime) end |