From 19207d1ddfe43724f263f02dfe9ec788bc61921b Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Sat, 31 Oct 2020 00:11:43 -0400 Subject: [PATCH] Logging added --- chess.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chess.go b/chess.go index 6799eb1..e44b711 100644 --- a/chess.go +++ b/chess.go @@ -76,7 +76,7 @@ func showBoard(m chat1.MsgSummary, g *Game) { } log.LogInfo("Creating board position (g.Game.Position().String())") // create board position - fenStr := g.Game.Position().String() + fenStr := g.Game.Pos.String() log.LogInfo("Creating pos &chess.Position{}") pos := &chess.Position{} if err := pos.UnmarshalText([]byte(fenStr)); err != nil {