mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 07:04:36 +00:00
fixd win modal
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user