From 3972de39d5e5c9d6660efca604622458abeb7a00 Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 16 Nov 2021 17:04:27 -0500 Subject: [PATCH] fix opponent target lockup --- game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.go b/game.go index 8c7a280..149d51c 100644 --- a/game.go +++ b/game.go @@ -477,7 +477,7 @@ func (g *Game) PlayerAct(id int, cmd string) *Deck { fmt.Println("opponent target not on board") return nil } - if g.GetOpponentBoard(board)[pos].Type != EmptyValue { + if g.GetBoard(board)[pos].Type != EmptyValue { fmt.Println("opponent empty target not empty") return nil }