From c6172b613a8f0c8ab5b56e7a3adc3d59c724aea3 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Thu, 11 Feb 2021 16:03:22 +0100 Subject: Fix pulsing red (remove incorrect preparedMove field) --- sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt | 2 -- 1 file changed, 2 deletions(-) (limited to 'sw-engine/src') 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), ) -- cgit