Commit e8379666 authored by ceddral's avatar ceddral
Browse files

board: fix cloisters not being scored on time

read the variable after assigning, not before...
parent 6ad1a4b3
......@@ -262,8 +262,8 @@ func (b *Board) TryScore(x, y int, id byte, gameEnd bool) (closed bool, score in
}
}
}
closed = (score == 9)
score = baseScore
closed = (score == 9)
case fRoad:
visited := make(map[Coord]struct{})
hasInn := false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment