PokerDice

PokerDice

401 Downloads

Turn detection is not working well

Onirim opened this issue ยท 2 comments

commented

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.

commented

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
commented

Fixed in 2.1.1