commit 022bface834aebfa3c6efe0b5449c7652376a180
parent 513ff246eb03817deebf21e7e5af697c20cab0ac
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Sat, 17 Jun 2023 13:47:18 -0700
typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go
@@ -576,8 +576,8 @@ func (g *ChessGame) drawPlayerCard(moveIdx int, key string, isBlack, isSpectator
return buf1.String()
}
-func (g *ChessGame) DrawSpectatorCard(moveIdx int, key string, isFlipped, soundsEnabled, CanUseChessAnalyze bool) string {
- return g.drawPlayerCard(moveIdx, key, isFlipped, true, false, soundsEnabled, CanUseChessAnalyze)
+func (g *ChessGame) DrawSpectatorCard(moveIdx int, key string, isFlipped, soundsEnabled, canUseChessAnalyze bool) string {
+ return g.drawPlayerCard(moveIdx, key, isFlipped, true, false, soundsEnabled, canUseChessAnalyze)
}
func (b *Chess) GetGame(key string) (*ChessGame, error) {