Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean Up Dummy Upgrade Code #831

Merged
merged 6 commits into from
Aug 6, 2022
Merged

Clean Up Dummy Upgrade Code #831

merged 6 commits into from
Aug 6, 2022

Conversation

commy2
Copy link
Collaborator

@commy2 commy2 commented Aug 6, 2022

  • requires and forks Make Dummy Upgrade Global #830

  • Remove the superfluous ExemptStatus. ExemptStatus flag does nothing here. GrantUpgradeCreate is only triggered once the scaffold is completed (or the unit leaves a factory or the at the start of the map for preplaced objects).

  • Use Upgrade_DummyUpgrade instead of Upgrade_ChinaOverlordGattlingCannon on the vUSA SDZ. This appears to be a minor mistake.

Despite this being a global upgrade, I left it so the buildings grant it. This helps for maps where the player does not chose their faction.

Base automatically changed from change-global-dummy-upgrade to main August 6, 2022 06:13
@commy2 commy2 merged commit 84b07b5 into main Aug 6, 2022
@commy2 commy2 deleted the cleanup-dummy-upgrade branch August 6, 2022 06:20
xezon pushed a commit that referenced this pull request Aug 28, 2022
@xezon xezon added the Patch104p Is specific to this project label Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Patch104p Is specific to this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants