diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-11 16:03:22 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2021-02-11 16:03:22 +0100 |
commit | c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3 (patch) | |
tree | e75addcd08c24995dbe4c6d6ad92aec67398ba06 /sw-engine/src/main | |
parent | Fix board summaries (again!) (diff) | |
download | seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.tar.gz seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.tar.bz2 seven-wonders-c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3.zip |
Fix pulsing red (remove incorrect preparedMove field)
Diffstat (limited to 'sw-engine/src/main')
-rw-r--r-- | sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt index b6cb3c90..9043dded 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt @@ -6,7 +6,6 @@ import org.luxons.sevenwonders.engine.cards.Card import org.luxons.sevenwonders.engine.cards.Decks import org.luxons.sevenwonders.engine.cards.Hands import org.luxons.sevenwonders.engine.converters.toHandCards -import org.luxons.sevenwonders.engine.converters.toPlayedMove import org.luxons.sevenwonders.engine.converters.toTableState import org.luxons.sevenwonders.engine.data.LAST_AGE import org.luxons.sevenwonders.engine.effects.SpecialAbility @@ -68,7 +67,6 @@ class Game internal constructor( table = newTableState, action = action, hand = hand, - preparedMove = preparedMoves[player.index]?.toPlayedMove(), discardedCards = discardedCards.toHandCards(player, true).takeIf { action == Action.PLAY_FREE_DISCARDED }, neighbourGuildCards = table.getNeighbourGuildCards(player.index).toHandCards(player, true), ) |