v1.3.0: fixed Dungeon.daily not being properly set in many cases

This commit is contained in:
Evan Debenham
2022-06-24 11:03:03 -04:00
parent b3ab6b1bed
commit 504b692b4d
3 changed files with 3 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ public class HeroSelectScene extends PixelScene {
if (GamesInProgress.selectedClass == null) return;
Dungeon.hero = null;
Dungeon.daily = false;
ActionIndicator.action = null;
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;

View File

@@ -121,6 +121,7 @@ public class WndGameInProgress extends Window {
GamesInProgress.curSlot = slot;
Dungeon.hero = null;
Dungeon.daily = false;
ActionIndicator.action = null;
InterlevelScene.mode = InterlevelScene.Mode.CONTINUE;
ShatteredPixelDungeon.switchScene(InterlevelScene.class);

View File

@@ -94,6 +94,7 @@ public class WndStartGame extends Window {
GamesInProgress.curSlot = slot;
Dungeon.hero = null;
Dungeon.daily = false;
ActionIndicator.action = null;
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;