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

Fix garrison spawning case where all buildings are destroyed #3093

Conversation

jaj22
Copy link

@jaj22 jaj22 commented Dec 18, 2023

What type of PR is this.

  1. Bug
  2. Change
  3. Enhancement

What have you changed and why?

The building count check in patrolGroupGarrison was put in the wrong place, so garrison spawning may error out when all valid garrison buildings have been destroyed.

Please specify which Issue this PR Resolves.

closes #XXXX

Please verify the following and ensure all checks are completed.

  1. Have you loaded the mission in LAN host?
  2. Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. No
  2. Yes (Please provide further detail below.)

@jaj22 jaj22 added the Bug Something isn't working label Dec 18, 2023
@jaj22 jaj22 added this to the 3.5 milestone Dec 18, 2023
Copy link

@Bob-Murphy Bob-Murphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Bob-Murphy Bob-Murphy merged commit 7a6e3fe into official-antistasi-community:unstable Dec 23, 2023
@Bob-Murphy Bob-Murphy added the Added to changelog Added to changelog label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added to changelog Added to changelog Bug Something isn't working Ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants