aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/game/state.go')
-rw-r--r--go/game/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/state.go b/go/game/state.go
index e7d77f4c..f53f46ae 100644
--- a/go/game/state.go
+++ b/go/game/state.go
@@ -230,7 +230,7 @@ func (s *LocalState) stateBasedActions() []*Player {
s.handleTriggers()
- w := s._map.WinCondition(s)
+ w := s._map.WinCondition.check(s)
return w
}