Don't take fuel input in Generator.shouldActivate
This commit is contained in:
parent
165450f857
commit
4698266b33
@ -130,9 +130,6 @@ function industrialtest.Generator.shouldActivate(self,pos)
|
||||
items={fuelSlot}
|
||||
})
|
||||
if output.time>0 then
|
||||
meta:set_float("fuelTime",output.time)
|
||||
meta:set_float("maxFuelTime",output.time)
|
||||
inv:set_stack("src",1,after.items[1])
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user