mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Reset the shoplist after the first game, so ante cards are available with the appropriate quest item
This commit is contained in:
@@ -32,7 +32,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
public abstract class QuestWinLoseController {
|
public abstract class QuestWinLoseController {
|
||||||
private final GameView lastGame;
|
private final GameView lastGame;
|
||||||
@@ -54,7 +54,7 @@ public abstract class QuestWinLoseController {
|
|||||||
final QuestController qc = FModel.getQuest();
|
final QuestController qc = FModel.getQuest();
|
||||||
|
|
||||||
// After the first game, reset the card shop pool to be able to buy back anted cards
|
// After the first game, reset the card shop pool to be able to buy back anted cards
|
||||||
if (lastGame.getNumPlayedGamesInMatch() == 1) {
|
if (lastGame.getNumPlayedGamesInMatch() == 0) {
|
||||||
qc.getCards().clearShopList();
|
qc.getCards().clearShopList();
|
||||||
qc.getCards().getShopList();
|
qc.getCards().getShopList();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user