From b209cab34a31a6bafb8b7db120ff0863a39e74c3 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 11 Jul 2025 18:17:03 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 731c201..bbb22d8 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -307,6 +307,10 @@ if settings.startup['PHI-MI'].value or (settings.startup['PHI-GM'].value and set storage.phi_cl.combinator.research_progress = math.floor(game.forces['player'].research_progress * 100) do + for i = 1, 7 do + storage.phi_cl.combinator.research_queue[i] = nil + end + local n = 1 for _, r in pairs(game.forces['player'].research_queue) do @@ -321,10 +325,6 @@ 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