From 164b59dbd51724f9c0c3f556a8ac5bf550c7ef8a Mon Sep 17 00:00:00 2001 From: lL1l1 <82986251+lL1l1@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:27:10 -0700 Subject: [PATCH] Fix intel state not being assigned (#6287) --- lua/system/blueprints-units.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/system/blueprints-units.lua b/lua/system/blueprints-units.lua index 64f77536f7..b51491ed52 100644 --- a/lua/system/blueprints-units.lua +++ b/lua/system/blueprints-units.lua @@ -373,7 +373,7 @@ local function PostProcessUnit(unit) for name, value in pairs(intelBlueprint) do -- may contain tables, such as `JamRadius` - if not type(value) == 'table' then + if type(value) ~= 'table' then if value == true or value > 0 then local intel = BlueprintNameToIntel[name] if intel and not activeIntel[intel] then