Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Attempts to fix phantom bot path overlays

Open S34NW opened this issue 2 years ago • 0 comments

What Does This PR Do

This PR tries to tidy up phantom bot paths, where a bot runs off to do something else but leaves its path overlay intact. This is because we have multiple different systems for moving bots, ideally a wider refactor is needed to move walk_to() calls to use pathfinding, and to fix the mess that is handle_automated_action() but that is a much more painful refactor and git is already busy.

Also, this is a weird issue that is inconsistent, I think I've caught all instances of distracted bots but I'm likely missing some, a TM would be ideal.

Why It's Good For The Game

Makes the bot paths not just stay there when a bot clears off to do something else.

Testing

Abused bots

Changelog

:cl: fix: Fixed bot path overlays not always clearing when a bot does something else or dies /:cl:

S34NW avatar Oct 11 '22 14:10 S34NW