From 9efe1ce45dd2e0d67e85ad38c84c66238d1beb1f Mon Sep 17 00:00:00 2001 From: 12Me21 <12Me21.MC@gmail.com> Date: Sun, 9 Sep 2018 14:11:51 -0400 Subject: [PATCH] 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. --- technic/machines/register/generator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/register/generator.lua b/technic/machines/register/generator.lua index 87ef6e7..a6752fd 100644 --- a/technic/machines/register/generator.lua +++ b/technic/machines/register/generator.lua @@ -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,