thewierdnut / endless-mobile

Space exploration, trading, and combat game.
https://endless-sky.github.io/
GNU General Public License v3.0
92 stars 6 forks source link

Auto-chase will chase ships that have left the system #101

Closed thewierdnut closed 7 months ago

thewierdnut commented 7 months ago

Is there an existing issue for this?

Describe the bug

If the ship you are attacking/scanning has left the system, the auto-chase code will still be activated, and it will move toward the coordinate in the current system that the ship occupies in the next system. This results in your ship randomly chasing and firing at nothing.

Steps to Reproduce

Target a ship about the leave the system.

Attack or scan it.

When it leaves the system, you ship then starts wandering around and randomly shooting at stuff.

Expected Behavior

Auto-chase shuts off when the target leaves the system.

Screenshots

No response

Link to save file

No response

Device type

asdf

Game Version

37

Additional Information

No response