dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 1f9d3dab0f7151f3cd6b0ca490b20de1edf30c4c
parent 9835c731626abc774aa58eb69f3fcf006914e112
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 12 Jun 2023 13:14:41 -0700

cleanup

Diffstat:
Mpkg/web/handlers/interceptors/chess.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/interceptors/chess.go b/pkg/web/handlers/interceptors/chess.go @@ -537,8 +537,8 @@ func (b *Chess) SendMove(gameKey string, userID database.UserID, g *ChessGame, c _ = g.Game.MoveStr(moveStr) g.lastUpdated = time.Now() - idStr2 := g.PiecesCache[mov.S2()] idStr1 := g.PiecesCache[mov.S1()] + idStr2 := g.PiecesCache[mov.S2()] idStr3 := "" if mov.S1().Rank() == chess.Rank5 && mov.S2().Rank() == chess.Rank6 && mov.HasTag(chess.EnPassant) {