From 942f6f890b23149c5e3afa2f4d8bebd368d0aad9 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Jul 2025 03:10:15 +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 68df7c1..eecd77b 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -84,7 +84,7 @@ local function gui_update(player, entity) end circuit_oc = circuit_oc.sections[1] - local val = circuit_oc.get_slot(1).value + local val = circuit_oc.get_slot(1).value or 0 player.gui.relative.phi_cl_combinator_config['default']['read_type_table']['read_type_technology_dropdown'].selected_index = ((val % 2) >= 1 and 2) or 1 player.gui.relative.phi_cl_combinator_config['default']['set_type_table']['set_type_technology_dropdown'].selected_index = ((val % 4) >= 2 and 2) or 1