mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
Disable starting of tutorial in tutorial.js
This commit is contained in:
parent
c09ddfdbb8
commit
571020ac7a
1 changed files with 22 additions and 22 deletions
|
@ -1145,25 +1145,25 @@ TutorialManager = function() {
|
||||||
|
|
||||||
// To run the tutorial:
|
// To run the tutorial:
|
||||||
//
|
//
|
||||||
var tutorialManager = new TutorialManager();
|
//var tutorialManager = new TutorialManager();
|
||||||
tutorialManager.startTutorial();
|
//tutorialManager.startTutorial();
|
||||||
|
//
|
||||||
|
//
|
||||||
var keyReleaseHandler = function(event) {
|
//var keyReleaseHandler = function(event) {
|
||||||
if (event.isShifted && event.isAlt) {
|
// if (event.isShifted && event.isAlt) {
|
||||||
print('here', event.text);
|
// print('here', event.text);
|
||||||
if (event.text == "F12") {
|
// if (event.text == "F12") {
|
||||||
if (!tutorialManager.startNextStep()) {
|
// if (!tutorialManager.startNextStep()) {
|
||||||
tutorialManager.startTutorial();
|
// tutorialManager.startTutorial();
|
||||||
}
|
// }
|
||||||
} else if (event.text == "F11") {
|
// } else if (event.text == "F11") {
|
||||||
tutorialManager.restartStep();
|
// tutorialManager.restartStep();
|
||||||
} else if (event.text == "F10") {
|
// } else if (event.text == "F10") {
|
||||||
MyAvatar.shouldRenderLocally = !MyAvatar.shouldRenderLocally;
|
// MyAvatar.shouldRenderLocally = !MyAvatar.shouldRenderLocally;
|
||||||
} else if (event.text == "r") {
|
// } else if (event.text == "r") {
|
||||||
tutorialManager.stopTutorial();
|
// tutorialManager.stopTutorial();
|
||||||
tutorialManager.startTutorial();
|
// tutorialManager.startTutorial();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
};
|
//};
|
||||||
Controller.keyReleaseEvent.connect(keyReleaseHandler);
|
//Controller.keyReleaseEvent.connect(keyReleaseHandler);
|
||||||
|
|
Loading…
Reference in a new issue