From e897f12584200f55fd1af43c9101adfcc4937954 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 25 Mar 2024 18:26:20 +0100 Subject: run state based actions before players receive priority --- go/game/state.go | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3