From 4a8272b1204a77495ebf1624b39e38b675780450 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 5 Apr 2017 11:13:45 -0400 Subject: update pipeworks --- pipeworks/luaentity.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pipeworks/luaentity.lua') diff --git a/pipeworks/luaentity.lua b/pipeworks/luaentity.lua index 87a2753..0105c91 100644 --- a/pipeworks/luaentity.lua +++ b/pipeworks/luaentity.lua @@ -348,13 +348,9 @@ end local handle_active_blocks_step = 0.2 local handle_active_blocks_timer = 0.1 -pipeworks.items_per_second_timer = 0 minetest.register_globalstep(function(dtime) handle_active_blocks_timer = handle_active_blocks_timer + dtime - pipeworks.items_per_second_timer = pipeworks.items_per_second_timer + 0.1 - -- don't care about overflow in this timer unless you plan to let the game run for 30 years straight :) - if handle_active_blocks_timer >= handle_active_blocks_step then handle_active_blocks_timer = handle_active_blocks_timer - handle_active_blocks_step move_entities_globalstep_part1(dtime) -- cgit v1.2.3