Fix bugs for injector and electric cable
This commit is contained in:
parent
76cf6abeea
commit
90815845f9
@ -274,7 +274,7 @@ function NodeStates:start(pos, nvm)
|
|||||||
end
|
end
|
||||||
start_timer_delayed(pos, self.cycle_time)
|
start_timer_delayed(pos, self.cycle_time)
|
||||||
|
|
||||||
if self.quick_start then
|
if self.quick_start and state == STOPPED then
|
||||||
self.quick_start(pos, 0)
|
self.quick_start(pos, 0)
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
|
@ -178,7 +178,7 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
techage.ElectricCable = Cable
|
techage.ElectricCable = Cable
|
||||||
techage.ELE1_MAX_CABLE_LENGTH = ELE1_MAX_CABLE_LENGTH
|
techage.ELE1_MAX_CABLE_LENGTH = ELE1_MAX_CABLE_LENGHT
|
||||||
|
|
||||||
|
|
||||||
for idx, color in ipairs({ "white", "grey", "black", "brown", "yellow", "red", "dark_green", "blue" }) do
|
for idx, color in ipairs({ "white", "grey", "black", "brown", "yellow", "red", "dark_green", "blue" }) do
|
||||||
|
Loading…
Reference in New Issue
Block a user