v1.3.0: fixed Dungeon.daily not being properly set in many cases
This commit is contained in:
+1
@@ -121,6 +121,7 @@ public class HeroSelectScene extends PixelScene {
|
|||||||
if (GamesInProgress.selectedClass == null) return;
|
if (GamesInProgress.selectedClass == null) return;
|
||||||
|
|
||||||
Dungeon.hero = null;
|
Dungeon.hero = null;
|
||||||
|
Dungeon.daily = false;
|
||||||
ActionIndicator.action = null;
|
ActionIndicator.action = null;
|
||||||
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;
|
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;
|
||||||
|
|
||||||
|
|||||||
+1
@@ -121,6 +121,7 @@ public class WndGameInProgress extends Window {
|
|||||||
GamesInProgress.curSlot = slot;
|
GamesInProgress.curSlot = slot;
|
||||||
|
|
||||||
Dungeon.hero = null;
|
Dungeon.hero = null;
|
||||||
|
Dungeon.daily = false;
|
||||||
ActionIndicator.action = null;
|
ActionIndicator.action = null;
|
||||||
InterlevelScene.mode = InterlevelScene.Mode.CONTINUE;
|
InterlevelScene.mode = InterlevelScene.Mode.CONTINUE;
|
||||||
ShatteredPixelDungeon.switchScene(InterlevelScene.class);
|
ShatteredPixelDungeon.switchScene(InterlevelScene.class);
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ public class WndStartGame extends Window {
|
|||||||
|
|
||||||
GamesInProgress.curSlot = slot;
|
GamesInProgress.curSlot = slot;
|
||||||
Dungeon.hero = null;
|
Dungeon.hero = null;
|
||||||
|
Dungeon.daily = false;
|
||||||
ActionIndicator.action = null;
|
ActionIndicator.action = null;
|
||||||
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;
|
InterlevelScene.mode = InterlevelScene.Mode.DESCEND;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user