We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f7b22d commit a5897d0Copy full SHA for a5897d0
1 file changed
src/ps/games/chess/index.ts
@@ -136,7 +136,7 @@ export class Chess extends BaseGame<State> {
136
}
137
if (this.lib.isDraw()) {
138
this.winCtx = { type: 'draw' };
139
- return this.$T('GAME.DRAW', { players: [this.players.w.name, this.players.b.name].list(this.$T) });
+ return this.$T('GAME.DRAW', { players: [this.players.W, this.players.B.name].list(this.$T) });
140
141
if (this.lib.isCheckmate()) {
142
const winner = this.players[this.turn!];
0 commit comments