mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-15 15:00:45 +01:00
Fix connect_sides of active fuel-fired generators
Fuel-fired generators can output power on the bottom, back, left, and right. Inactive generators had connect_sides correctly set to {"bottom", "back", "left", "right"}, but *active* generators only had {"bottom"} for some reason. This caused generators to appear to disconnect from cables after being turned on.
This commit is contained in:
parent
92dd0f4af8
commit
9efe1ce45d
|
@ -191,7 +191,7 @@ function technic.register_generator(data)
|
|||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = active_groups,
|
||||
connect_sides = {"bottom"},
|
||||
connect_sides = {"bottom", "back", "left", "right"},
|
||||
legacy_facedir_simple = true,
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
tube = data.tube and tube or nil,
|
||||
|
|
Loading…
Reference in New Issue
Block a user