Skip to content

Commit d68f3d6

Browse files
pengvadosprunk
authored andcommitted
Bugfix for the campaign commander silently losing modules on startup.
If you had chosen any commander-modules that have prereqs, one of those would be replaced by empty-slot each time you loaded the campaign data.
1 parent 1a3a7af commit d68f3d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

LuaMenu/widgets/api_campaign_data.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ local function RecalculateCommanderLevel()
411411
end
412412
level = level + 1
413413
end
414+
UpdateCommanderModuleCounts()
414415
UpdateModuleRequirements()
415416
end
416417

0 commit comments

Comments
 (0)