v1.3.0: fixed Dungeon.daily not being properly set in many cases
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user