Turn detection is not working well
Onirim opened this issue ยท 2 comments
Sometimes, the game doesn't understand when it's time to the reroll of the dice and think players are always in the first roll.
This problems seems to occurs randomly when in group.
To investigate and solve (or revamp this function with a "first roll" variable initialized at true at the beginning and when a player take the pot.
Things to change:
- Using isFirstRoll globalvar (boolean)
- Hiding roll icon (or made it grey and not clickable?) after the reroll
- Change isFirstRoll to true on resetting or taking the pot