Skip to content

Commit

Permalink
Transfer structure upgrade progress outside share until death (#6405)
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 authored Feb 2, 2025
1 parent 135e4a0 commit d8abfe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/snippets/fix.6405.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6405) Transfer unit upgrade progress in modes outside full share, excluding share until death.
2 changes: 1 addition & 1 deletion lua/SimUtils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function TransferUnitsOwnership(units, toArmy, captured)
return
end
local categoriesENGINEERSTATION = categories.ENGINEERSTATION
local shareUpgrades = ScenarioInfo.Options.Share == 'FullShare'
local shareUpgrades = ScenarioInfo.Options.Share ~= 'ShareUntilDeath'

-- do not gift insignificant units
units = EntityCategoryFilterDown(transferUnitsCategory, units)
Expand Down

0 comments on commit d8abfe7

Please sign in to comment.