From b5b70e00e3718f2b23f49a5b8fb4082a96a77462 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Apr 2025 22:03:04 +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 51e2215..499b022 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) - 1) * 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) * 4 + (e.element.parent['i_sub_direction'].selected_index - 1)) % 16 + 1] end end)