diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java index edfef5c0d..7809a561e 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java @@ -31,7 +31,8 @@ public abstract class GameTutorial public boolean SetTutorialPositions = true; public boolean TeleportOnEnd = true; - + public boolean RunTasksSync = true; + public long TimeBetweenPhase = 0; public long StartAfterTutorial = 5000; diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java index 5b1eab19c..978a75928 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/TutorialPhase.java @@ -142,14 +142,21 @@ public abstract class TutorialPhase private void displayMessage(final TutorialText text) { - _tutorial.Manager.runSync(new Runnable() + if(_tutorial.RunTasksSync) { - @Override - public void run() + _tutorial.Manager.runSync(new Runnable() { - onMessageDisplay(text); - } - }); + @Override + public void run() + { + onMessageDisplay(text); + } + }); + } + else + { + onMessageDisplay(text); + } } protected TutorialText getNextMessage()