diff --git a/src/games/checkers/CheckersGame.js b/src/games/checkers/CheckersGame.js index b3d933f..04411a9 100644 --- a/src/games/checkers/CheckersGame.js +++ b/src/games/checkers/CheckersGame.js @@ -150,7 +150,7 @@ export default class CheckersGame extends Phaser.Scene { const plrAY = BY + BOARD - r - 20; this.add.circle(avatarX, plrAY, r + 5, COLORS.accent, 0.5).setDepth(depth); - createPlayerPortrait(this, avatarX, plrAY, r, depth + 1, 'Checkers'); + createPlayerPortrait(this, avatarX, plrAY, r, depth + 1, 'CheckersGame'); this.add.text(avatarX, plrAY - r - 14, auth.user?.username ?? 'You', { fontFamily: '"Julius Sans One"', fontSize: '18px', color: COLORS.textHex, wordWrap: { width: 230 }, align: 'center', diff --git a/src/games/chess/ChessGame.js b/src/games/chess/ChessGame.js index d7c8a8d..691f08c 100644 --- a/src/games/chess/ChessGame.js +++ b/src/games/chess/ChessGame.js @@ -148,7 +148,7 @@ export default class ChessGame extends Phaser.Scene { const plrAY = BY + BOARD - r - 20; this.add.circle(avatarX, plrAY, r + 5, COLORS.accent, 0.5).setDepth(depth); - createPlayerPortrait(this, avatarX, plrAY, r, depth + 1, 'Chess'); + createPlayerPortrait(this, avatarX, plrAY, r, depth + 1, 'ChessGame'); this.add.text(avatarX, plrAY - r - 14, auth.user?.username ?? 'You', { fontFamily: '"Julius Sans One"', fontSize: '18px', color: COLORS.textHex, wordWrap: { width: 230 }, align: 'center',