Pause smelting in electric furnace if power runs out
This commit is contained in:
parent
6954c97453
commit
bc85a5449d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user