Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ceddral
fahrradwurstmond
Commits
e8379666
Commit
e8379666
authored
Sep 19, 2021
by
ceddral
Browse files
board: fix cloisters not being scored on time
read the variable after assigning, not before...
parent
6ad1a4b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
board.go
View file @
e8379666
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment