Pause smelting in electric furnace if power runs out

This commit is contained in:
mrkubax10 2023-03-12 12:10:20 +01:00
parent 6954c97453
commit bc85a5449d

View File

@ -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