joncox123 / PyBoloPublic

An enhanced, modern, cross-platform implementation of the classic multiplayer tank game, Bolo.
https://pybolo.com
Other
0 stars 0 forks source link

LGM action sound being played even if no action is performed #11

Closed joncox123 closed 3 weeks ago

joncox123 commented 3 weeks ago

If the LGM travels to commit an action, but the action is not able to be completed, the client still plays the action sound. The actionFailed parameter from the server is either not being properly set or not being respected on the client.

joncox123 commented 3 weeks ago

fixed by setting actionFailed = True for the else condition of each action state branch