diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-03-25 18:26:20 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-08-20 15:57:09 +0200 |
| commit | b23404015416016d0a4896505cd4f08c0c334e75 (patch) | |
| tree | 8aee3a00f3d044818a2db64bf282cef0b11240c4 | |
| parent | 892ceb1b567153891e165cdf9ca66fec8d76c6e7 (diff) | |
| download | muhqs-game-b23404015416016d0a4896505cd4f08c0c334e75.tar.gz muhqs-game-b23404015416016d0a4896505cd4f08c0c334e75.zip | |
run state based actions before players receive priority
| -rw-r--r-- | go/game/state.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/go/game/state.go b/go/game/state.go index 36dc3e77..0631e5eb 100644 --- a/go/game/state.go +++ b/go/game/state.go @@ -404,6 +404,7 @@ func (s *State) allPassing(skipFirst bool) bool { } for ; i < nPlayers; i++ { p := s.Players[(i+s.ActivePlayer.Id-1)%nPlayers] + s.stateBasedActions() p.Ctrl.SendNotification(newPriorityNotification()) a := p.Ctrl.RecvAction() switch a.(type) { |
