From 1f5234e02e1dde57d3262007f08a206cd0f48077 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 9 May 2026 21:57:01 +0900 Subject: [PATCH] . --- PHI-CL/control/combinator.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PHI-CL/control/combinator.lua b/PHI-CL/control/combinator.lua index 9731edb..add5442 100644 --- a/PHI-CL/control/combinator.lua +++ b/PHI-CL/control/combinator.lua @@ -83,9 +83,11 @@ function main.gui_update(player, entity) local dropdown = player.gui.relative.phi_cl_combinator_config['default']['table_research_queue']['research_queue_dropdown'] - if dropdown then - dropdown.selected_index = ((val < 0 or val > 3) and 1) or (val + 1) + if not dropdown then + return end + + dropdown.selected_index = ((val < 0 or val > 3) and 1) or (val + 1) end function main.handle_research_queue(entity, combinator)