Skip to content

Commit

Permalink
Fix intel state not being assigned (#6287)
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 authored Jun 22, 2024
1 parent c3978e6 commit 164b59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/system/blueprints-units.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 164b59d

Please sign in to comment.