mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Bugfix to bugfix: Phase toggle prefs fixed
Bugfix: Quest winlose crash fixed
This commit is contained in:
@@ -465,7 +465,7 @@ public class QuestWinLoseHandler extends ControlWinLose {
|
||||
this.model.qData.addCredits(credTotal);
|
||||
|
||||
// Generate Swing components and attach.
|
||||
this.icoTemp = GuiUtils.getResizedIcon("GoldIcon.png", 0.5);
|
||||
this.icoTemp = GuiUtils.getResizedIcon(skin.getIcon(FSkin.QuestIcons.ICO_GOLD), 0.5);
|
||||
|
||||
this.lblTemp1 = new TitleLabel("Gameplay Results");
|
||||
|
||||
@@ -568,7 +568,7 @@ public class QuestWinLoseHandler extends ControlWinLose {
|
||||
this.model.qData.addCredits(questRewardCredits);
|
||||
|
||||
// Generate Swing components and attach.
|
||||
this.icoTemp = GuiUtils.getResizedIcon("BoxIcon.png", 0.5);
|
||||
this.icoTemp = GuiUtils.getResizedIcon(skin.getIcon(FSkin.QuestIcons.ICO_BOX), 0.5);
|
||||
this.lblTemp1 = new TitleLabel("Challenge Rewards for \"" + ((QuestChallenge) this.model.qEvent).getTitle()
|
||||
+ "\"");
|
||||
|
||||
@@ -591,7 +591,7 @@ public class QuestWinLoseHandler extends ControlWinLose {
|
||||
|
||||
private void penalizeLoss() {
|
||||
int x = Singletons.getModel().getQuestPreferences().getPreferenceInt(QPref.PENALTY_LOSS);
|
||||
this.icoTemp = GuiUtils.getResizedIcon("HeartIcon.png", 0.5);
|
||||
this.icoTemp = GuiUtils.getResizedIcon(skin.getIcon(FSkin.QuestIcons.ICO_HEART), 0.5);
|
||||
|
||||
this.lblTemp1 = new TitleLabel("Gameplay Results");
|
||||
|
||||
|
||||
@@ -407,6 +407,8 @@ public class GuiTopLevel extends JFrame implements Display, CardContainer {
|
||||
fp.setPref(FPref.DEV_MILLING_LOSS, String.valueOf(Constant.Runtime.MILL[0]));
|
||||
fp.setPref(FPref.UI_LAYOUT_PARAMS, String.valueOf(control.getMatchController().getView().getLayoutParams()));
|
||||
fp.setPref(FPref.DEV_UNLIMITED_LAND, String.valueOf(v.getLblUnlimitedLands().getEnabled()));
|
||||
|
||||
fp.save();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user