mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Minor fix to reset new card flags in QuestWinLoseHandler.
Note, "missing new card flag" bug is still present, probably from lines commented out in DeckEditorShop.java.
This commit is contained in:
@@ -107,6 +107,7 @@ public class QuestWinLoseHandler extends WinLoseModeHandler {
|
|||||||
@Override
|
@Override
|
||||||
public boolean populateCustomPanel() {
|
public boolean populateCustomPanel() {
|
||||||
view.btnRestart.setVisible(false);
|
view.btnRestart.setVisible(false);
|
||||||
|
model.qData.getCards().resetNewList();
|
||||||
|
|
||||||
if(!model.qMatchState.isMatchOver()) {
|
if(!model.qMatchState.isMatchOver()) {
|
||||||
view.btnQuit.setText("Surrender (15 Credits)");
|
view.btnQuit.setText("Surrender (15 Credits)");
|
||||||
|
|||||||
Reference in New Issue
Block a user