mirror of
https://github.com/minetest-mods/technic.git
synced 2025-01-03 03:07:36 +01:00
Fix problem with supply converter producing energy
This commit is contained in:
parent
1af6313c69
commit
7065ba9155
@ -35,6 +35,7 @@ local run = function(pos, node)
|
|||||||
..input * remain.." "..to..")")
|
..input * remain.." "..to..")")
|
||||||
else
|
else
|
||||||
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
|
meta:set_string("infotext", S("%s Has Bad Cabling"):format(machine_name))
|
||||||
|
meta:set_int(to.."_EU_supply", 0)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user