v2.3.0: fixed various cases where tutorial could become stuck
This commit is contained in:
@@ -94,6 +94,7 @@ public class EntranceRoom extends StandardRoom {
|
||||
Random.IntRange( top + 1, bottom - 2 )));
|
||||
} while (pos == level.entrance() || level.findMob(level.entrance()) != null);
|
||||
level.drop( new Guidebook(), pos );
|
||||
Document.ADVENTURERS_GUIDE.deletePage(Document.GUIDE_INTRO);
|
||||
}
|
||||
|
||||
//places the third guidebook page on floor 2
|
||||
|
||||
@@ -568,7 +568,9 @@ public class GameScene extends PixelScene {
|
||||
//Tutorial
|
||||
if (SPDSettings.intro()){
|
||||
|
||||
if (ControllerHandler.isControllerConnected()) {
|
||||
if (Document.ADVENTURERS_GUIDE.isPageFound(Document.GUIDE_INTRO)){
|
||||
GameScene.flashForDocument(Document.ADVENTURERS_GUIDE, Document.GUIDE_INTRO);
|
||||
} else if (ControllerHandler.isControllerConnected()) {
|
||||
GLog.p(Messages.get(GameScene.class, "tutorial_move_controller"));
|
||||
} else if (SPDSettings.interfaceSize() == 0) {
|
||||
GLog.p(Messages.get(GameScene.class, "tutorial_move_mobile"));
|
||||
|
||||
Reference in New Issue
Block a user