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

Bot deletion bug #15

Open
jameshallam93 opened this issue Jun 1, 2022 · 1 comment
Open

Bot deletion bug #15

jameshallam93 opened this issue Jun 1, 2022 · 1 comment

Comments

@jameshallam93
Copy link

Summary:

Bot was deleted after it tried to move to a square which was already occupied by a different bot.

I believe this is the problematic code, based on the fact that the bot is not re-added to the location overlay after being removed if there is a problem moving the bot to the new tile (as in the case of another bot being present in that tile).

More context

logdump.txt

@Yawrf
Copy link

Yawrf commented Jun 4, 2022

Can verify, with clarification that it seems to only be when they both move into a tile at the same time - one being in a square prevents others from moving into the square, but they can move into a square simultaneously and one of them gets deleted then

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

No branches or pull requests

2 participants