We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a8907 commit 979cbdfCopy full SHA for 979cbdf
plugin2025/src/main/kotlin/sc/plugin2025/GameState.kt
@@ -136,7 +136,10 @@ data class GameState @JvmOverloads constructor(
136
} ?: move.perform(this)
137
if(mist != null)
138
throw InvalidMoveException(mist, move)
139
- currentPlayer.lastAction = if(move is Advance) move.getCards().lastOrNull() ?: move else move
+ currentPlayer.lastAction =
140
+ if(move is Advance && currentField != Field.MARKET)
141
+ move.getCards().lastOrNull() ?: move
142
+ else move
143
turn++
144
awardPositionFields()
145
if(!moveIterator().hasNext()) {
0 commit comments