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

Repair group fixes #3806

Merged
merged 4 commits into from
May 16, 2024
Merged

Repair group fixes #3806

merged 4 commits into from
May 16, 2024

Conversation

KJeff01
Copy link
Member

@KJeff01 KJeff01 commented May 15, 2024

This PR fixes the repair group feature in a few ways:

  1. Interrupting a droid going back to repair (or base) would leave the group number red forever until it was brought back to full HP. This is due to droidWasFullyRepairedBase() not being called when breaking the droid out of the retreat-like order, and that might not be a good idea as it restores the group from the repairGroup, as well as updates the groups UI.

  2. Saves and loads a droid's repairGroup, and the productToGroup for factories.

@KJeff01 KJeff01 added this to the 4.5.0-beta1 milestone May 16, 2024
@KJeff01 KJeff01 merged commit 2a6ba3c into Warzone2100:master May 16, 2024
37 checks passed
@KJeff01 KJeff01 deleted the repairFixes branch May 16, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant