diff --git a/machines.lua b/machines.lua index ef538e1..3277133 100644 --- a/machines.lua +++ b/machines.lua @@ -558,9 +558,6 @@ definition={ meta:set_int("industrialtest.powerAmount",meta:get_int("industrialtest.powerAmount")-requiredPower) meta:set_float("srcTime",meta:get_float("srcTime")+elapsed) shouldRerunTimer=true - else - meta:set_float("srcTime",0) - meta:set_float("maxSrcTime",-1) end shouldUpdateFormspec=true end