From 02554d7f03ccb46f70ad77a991b88a64f4efb6c7 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 13 Nov 2025 20:53:26 +0900 Subject: [PATCH] .. --- PHI-CL/control.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 113471f..7f63621 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -324,10 +324,8 @@ script.on_nth_tick(1800, function(_) local n = 1 for _, r in pairs(game.forces['player'].research_queue) do - local raw_name = r.name:gsub('-%d+$', '') - if r.name and r.level and r.research_unit_count_formula then - storage.phi_cl.combinator.research_queue[raw_name] = ((storage.phi_cl.combinator.research_queue[raw_name] and storage.phi_cl.combinator.research_queue[raw_name]) or 0) + math.pow(2, n - 1) + storage.phi_cl.combinator.research_queue[r.name] = ((storage.phi_cl.combinator.research_queue[r.name] and storage.phi_cl.combinator.research_queue[r.name]) or 0) + math.pow(2, n - 1) end n = n + 1