fix opponent target lockup

This commit is contained in:
stryan 2021-11-16 17:04:27 -05:00
parent d30493e529
commit 3972de39d5

View File

@ -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
}