From 34f2a98d947421762e71f942bc216ccff1a3ca86 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Apr 2025 21:59:59 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 499b022..51e2215 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -132,7 +132,7 @@ if settings.startup['PHI-CT'].value or settings.startup['PHI-MI'].value or (sett local gui = player.gui.relative.inserter_config if player.opened and player.opened.object_name == 'LuaEntity' and (player.opened.type == 'inserter' or (player.opened.type == 'entity-ghost' and player.opened.ghost_type == 'inserter')) and gui[e.element.name] then - player.opened.direction = inserter_direction[(math.floor(inserter_direction_reversed[player.opened.direction] / 4) * 4 + (e.element.parent['i_sub_direction'].selected_index - 1)) % 16 + 1] + player.opened.direction = inserter_direction[((math.floor(inserter_direction_reversed[player.opened.direction] / 4) - 1) * 4 + (e.element.parent['i_sub_direction'].selected_index - 1)) % 16 + 1] end end)