fixd win modal

This commit is contained in:
1brucben
2025-04-24 13:54:15 +02:00
parent ce4d9e97cd
commit ce77245909
+2 -2
View File
@@ -218,10 +218,10 @@ export class WinModal extends LitElement implements Layer {
new SendWinnerEvent(winner.clientID(), wu.allPlayersStats, "player"),
);
if (winner == this.game.myPlayer()) {
this._title = "You Won!";
this._title = "Chicken Jockey!";
this.won = true;
} else {
this._title = `${winner.name()} has won!`;
this._title = `Chicken Jockey!`;
this.won = false;
}
this.show();