From d7b0fc3e4cc198df9e6ef16024e1eeb96ef14910 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 20 Dec 2025 03:38:00 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 9ab040f..4e749fb 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -406,12 +406,15 @@ local function handle_research_queue(entity, combinator) end end + local research_queue = {} + for i=1,7 do if storage.phi_cl.combinator.research_queue_set[i] then - game.forces['player'].add_research(storage.phi_cl.combinator.research_queue_set[i]) + table.insert(research_queue, storage.phi_cl.combinator.research_queue_set[i]) end end + game.forces['player'].research_queue = research_queue storage.phi_cl.combinator.last_writer = nil end end