fix opponent target lockup
This commit is contained in:
parent
d30493e529
commit
3972de39d5
2
game.go
2
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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user