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

Mission - Fix mortar firing delay #689

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Mission - Fix mortar firing delay #689

merged 2 commits into from
Apr 24, 2024

Conversation

Mike-MF
Copy link
Member

@Mike-MF Mike-MF commented Apr 6, 2024

  • Currently the mortar can completely skip firing the first round because of traversal time. This should get it to look in the right direction before the doArtilleryFire begins giving it a much better chance of actually firing instead of skipping.

  • My initial testing of this is done in a function that calls this one, it works as intended.

  • Testing it by setting direction just before it fires isn't enough time, but even if the strike fails for any reason having it face the right way doesn't matter all that much.

@Mike-MF Mike-MF added the bug fix label Apr 6, 2024
@Mike-MF Mike-MF marked this pull request as ready for review April 23, 2024 21:53
@jonpas jonpas added this to the 2.3.0 milestone Apr 24, 2024
@jonpas jonpas merged commit 01adb52 into master Apr 24, 2024
3 checks passed
@jonpas jonpas deleted the mission-mortarDirection branch April 24, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants