Skip to content

Commit

Permalink
Merge branch 'main' into web/map-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 18, 2024
2 parents c8a3932 + d30cd6a commit a09f23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swarm-engine/Swarm/Game/Step.hs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ hypotheticalWinCheck em g ws oc = do

let gameFinished = newWinState /= Ongoing
let finishedObjectives = notNull queue
when (gameFinished || (finishedObjectives && shouldPause == PauseOnAnyObjective)) $
when (finishedObjectives && (gameFinished || shouldPause == PauseOnAnyObjective)) $
temporal . runStatus .= AutoPause

mapM_ handleException $ exceptions finalAccumulator
Expand Down

0 comments on commit a09f23e

Please sign in to comment.