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:
12Me21 2018-09-09 14:11:51 -04:00 committed by GitHub
parent 92dd0f4af8
commit 9efe1ce45d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,7 +191,7 @@ function technic.register_generator(data)
}, },
paramtype2 = "facedir", paramtype2 = "facedir",
groups = active_groups, groups = active_groups,
connect_sides = {"bottom"}, connect_sides = {"bottom", "back", "left", "right"},
legacy_facedir_simple = true, legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
tube = data.tube and tube or nil, tube = data.tube and tube or nil,