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}
|
items={fuelSlot}
|
||||||
})
|
})
|
||||||
if output.time>0 then
|
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
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user