-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 return fire logic ignoring AutoAttack priotities #20736
Fix return fire logic ignoring AutoAttack priotities #20736
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
This correctly fixes the bug, but needs a bit more polish. See suggestions below.
I propose to name the commit to something like
|
Added brand new feature Unnecessary assignmet removed
34960c7
to
3276731
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this one.
As this is your first contribution, you can choose to add yourself to the https://github.com/OpenRA/OpenRA/blob/bleed/AUTHORS file if you wish - just add another commit onto this PR if you do.
Closes #20731
Change when stop order is given:
-When stance is return fire, units keeps retaliating.
-When you change to defense it's keeps retaliating till you give the order.
-Once the order is given it retargets to the closest unit.
If you go back to returnfire it retaliate again.