In the rules, it says that the commands are processed in the following order:
1. Select 2. Movement 3. Digging 4. Banana 5. Snowball 6. Shooting
It looks to me like this is implemented by having an int called
order on each command and sorting by it. However, it looks like Banana and Snowball both have the same ordering value (3).
The impact of this bug would be that it isn’t clearly defined what order those two commands are processed in. Sometimes you can freeze an opponent worm before they banana bomb you, sometimes you can’t.