Fixe dice
This commit is contained in:
@@ -121,6 +121,7 @@ private void handleGame(Notification notification) {
|
||||
delay = STANDARD_DELAY;
|
||||
} else if (notification instanceof ActivePlayerNotification n) {
|
||||
gameView.getGuiHandler().setActivePlayer(n.getColor());
|
||||
boardHandler.hideDice();
|
||||
if(n.getColor() != ownColor) boardHandler.showDice(n.getColor());
|
||||
app.getAcousticHandler().playSound(MdgaSound.UI90);
|
||||
delay = STANDARD_DELAY;
|
||||
@@ -207,7 +208,6 @@ public void run() {
|
||||
waitForAnimation = true;
|
||||
}
|
||||
else {
|
||||
boardHandler.hideDice();
|
||||
if (n.isTurbo()) guiHandler.showRolledDiceMult(n.getEyes(), n.getMultiplier(), n.getColor());
|
||||
else guiHandler.showRolledDice(n.getEyes(), n.getColor());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user