aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-08-20 14:44:51 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 14:50:08 +0200
commit20b7135e023c71b84719f8e58df532f2dba0a311 (patch)
tree5ff31782d6dde0d3eabd2f79b4e4b34ec696b6dd /go/game/state.go
parentb1f0bfebc5c585e50eb432db8127125bd392a4cd (diff)
downloadmuhqs-game-go.tar.gz
muhqs-game-go.zip
add description to wincondition to show the usergo
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
}