From 4824344edf4b94310ae82bcf98d9856a81f81121 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 9 Oct 2025 19:40:01 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 86933d2..ebd0617 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -296,18 +296,18 @@ script.on_init(function() sm.set_tiles(tiles) local entities = { - {name='substation', position={0, 6}}, + {name='substation', position={0, 6}, direction=defines.direction.south}, {name='pipe-to-ground', position={3, 5}, direction=defines.direction.south}, - {name='pipe-to-ground', position={-3, 5}, direction=defines.direction.south} + {name='pipe-to-ground', position={-4, 5}, direction=defines.direction.south} } for _, s in pairs({pf.surface, sp, sm}) do for _, en in pairs(entities) do - local e = s.create_entity{name=en.name, position=en.position, direction=en.direction or nil, force='player'} + local e = s.create_entity{name=en.name, position=en.position, force='player', direction=en.direction} e.destructible = false e.minable = false e.rotatable = false - e.operable = false + -- e.operable = false end end