From a76038f9a8abfaa0240c25a93ee79bec9f94c101 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 17 Dec 2025 20:55:28 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index e65b11a..4dd17d2 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -388,12 +388,12 @@ local function handle_research_queue(entity, combinator) end for _, ss in pairs(s) do - if ss.signal and ss.signal.type == 'virtual' and ss.signal.count > 0 then + if ss.signal and ss.signal.type == 'virtual' and ss.count > 0 then local tn = ss.signal.name:gsub('signal-', '') if game.forces.player.technologies[tn] and game.forces.player.technologies[tn].enabled and game.forces.player.technologies[tn].research_unit_count_formula then for i=1, 7 do - if math.floor(ss.signal.count / (2 ^ (7 + i))) % 2 == 1 then + if math.floor(ss.count / (2 ^ (7 + i))) % 2 == 1 then storage.phi_cl.combinator.research_queue_set[i] = tn end end