riddlesio / issues

Bug reports and starter bot submissions for the Riddles.io platform
0 stars 0 forks source link

MsHackman: collision with bug only applied to one player #53

Closed eulerscheZahl closed 7 years ago

eulerscheZahl commented 7 years ago

replay In the very last turn, both players share the same position (and are both coming from the same field). But when colliding with a bug, only player0 loses snippets.

edit: the rules say: "If a bug collides with two players at the same time, both players lose snippets."

edit2: This should fix it: fork. I did not test it, but it may help to identify the cause of the problem.

nikovanmeurs commented 7 years ago

Thanks for the bug report. @JimVanEeden could you look into this?

JimVanEeden commented 7 years ago

Thanks eulerscheZahl! You've got a pretty keen eye; that was the problem indeed.

I've fixed the bug straight away by copying the edits in your fork. Next time you can create a pull request as well if you want so I can just merge it after testing.

eulerscheZahl commented 7 years ago

Ok. I wasn't sure if I should, as my changes were untested ;)