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 }