This commit is contained in:
stryan 2022-03-07 15:59:00 -05:00
parent 093ef4caf2
commit a332444817
1 changed files with 1 additions and 1 deletions

View File

@ -93,5 +93,5 @@ func (b *Board) IsTerrain(x, y int) (bool, error) {
if !b.validatePoint(x, y) {
return false, errors.New("River check invalid location")
}
return b.board[y][x].passable, nil
return !b.board[y][x].passable, nil
}