v2.5.1: fixed game log spam if scene is reset during tutorial
This commit is contained in:
@@ -593,10 +593,13 @@ public class GameScene extends PixelScene {
|
|||||||
if (Document.ADVENTURERS_GUIDE.isPageFound(Document.GUIDE_INTRO)){
|
if (Document.ADVENTURERS_GUIDE.isPageFound(Document.GUIDE_INTRO)){
|
||||||
GameScene.flashForDocument(Document.ADVENTURERS_GUIDE, Document.GUIDE_INTRO);
|
GameScene.flashForDocument(Document.ADVENTURERS_GUIDE, Document.GUIDE_INTRO);
|
||||||
} else if (ControllerHandler.isControllerConnected()) {
|
} else if (ControllerHandler.isControllerConnected()) {
|
||||||
|
GameLog.wipe();
|
||||||
GLog.p(Messages.get(GameScene.class, "tutorial_move_controller"));
|
GLog.p(Messages.get(GameScene.class, "tutorial_move_controller"));
|
||||||
} else if (SPDSettings.interfaceSize() == 0) {
|
} else if (SPDSettings.interfaceSize() == 0) {
|
||||||
|
GameLog.wipe();
|
||||||
GLog.p(Messages.get(GameScene.class, "tutorial_move_mobile"));
|
GLog.p(Messages.get(GameScene.class, "tutorial_move_mobile"));
|
||||||
} else {
|
} else {
|
||||||
|
GameLog.wipe();
|
||||||
GLog.p(Messages.get(GameScene.class, "tutorial_move_desktop"));
|
GLog.p(Messages.get(GameScene.class, "tutorial_move_desktop"));
|
||||||
}
|
}
|
||||||
toolbar.visible = toolbar.active = false;
|
toolbar.visible = toolbar.active = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user