fix: disable post-game buttons

Disable action buttons when game reaches FINISHED phase in UI
This commit is contained in:
Jona Walpert
2026-04-15 00:11:23 +02:00
parent 497820db05
commit 181f538038
@@ -243,8 +243,9 @@ public class TaskbarController {
boolean isMyTurn = state.activePlayer == myIndex;
boolean isOut = me.getState() == PlayerState.FOLDED;
boolean isGameFinished = state.phase != null && state.phase.equalsIgnoreCase("FINISHED");
updateBasicButtons(isMyTurn, isOut);
updateBasicButtons(isMyTurn, isOut || isGameFinished);
setMoney(me.getChips());
}