From 6b2ba26973e713ef0471c11a6c06453f8c2554ba Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Jul 2025 18:07:39 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 29f2702..731c201 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -321,6 +321,10 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set n = n + 1 end + + for i = n, 7 do + storage.phi_cl.combinator.research_queue[i] = nil + end end for _, s in pairs(game.surfaces) do @@ -340,7 +344,12 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set if (val % 2) >= 1 then -- read_type_technology_dropdown for n, r in pairs(storage.phi_cl.combinator.research_queue) do - circuit_oc.set_slot(10 + n, {value = {type = 'virtual', name = 'signal-' .. r.name, quality = 'normal'}, min = r.value}) + if r.name then + circuit_oc.set_slot(10 + n, {value = {type = 'virtual', name = 'signal-' .. r.name, quality = 'normal'}, min = r.value}) + + else + circuit_oc.clear_slot(10 + n) + end end circuit_oc.set_slot(18, {value = {type = 'virtual', name = 'signal-PA', quality = 'normal'}, min = storage.phi_cl.combinator.research_progress})