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 the horrid VTOL Strike/CB rearming behavior #3449

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

KJeff01
Copy link
Member

@KJeff01 KJeff01 commented Oct 31, 2023

While using a single VTOL is fine on these sensors, problems arise when there are multiple.

If multiple VTOLs are assigned to the VTOL sensors they would only attack if full as a group if the target didn't die. Causing 1 attack per VTOL of the whole group on the target.


Perhaps not perfect but at least makes these VTOL sensors feel a lot better to use. There is another line with allVtolsRearmed() elsewhere but I have no idea how that gets triggered, if ever.

Closes Trac ticket 4135 I suppose (10 year old bug report!).

While using a single VTOL is fine on these sensors, problems arise when there are multiple.

If multiple VTOLs are assigned to the VTOL sensors they would only attack if full as a group if the target didn't die. Causing 1 attack per VTOL of the whole group on the target.
@KJeff01 KJeff01 added this to the 4.4.0-beta2 milestone Nov 2, 2023
@KJeff01 KJeff01 merged commit 6b9557a into Warzone2100:master Nov 2, 2023
35 checks passed
@KJeff01 KJeff01 deleted the vtolSensorFix branch November 2, 2023 23:10
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.

1 participant