mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Fix misnamed function and duplicate onFinish in tutorial
This commit is contained in:
parent
e24a01d1fe
commit
c74df965ba
2 changed files with 3 additions and 4 deletions
|
@ -160,6 +160,6 @@ function handleMessage(channel, message, sender) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Messages.subscribe(HIFI_ADVANCED_MOVEMENT_DISABLER_CHANNEL);
|
Messages.subscribe(HIFI_ADVANCED_MOVEMENT_DISABLER_CHANNEL);
|
||||||
Messages.messageReceived.connect(handleHandMessages);
|
Messages.messageReceived.connect(handleMessage);
|
||||||
|
|
||||||
}()); // END LOCAL_SCOPE
|
}()); // END LOCAL_SCOPE
|
||||||
|
|
|
@ -228,7 +228,6 @@ stepDisableControllers.prototype = {
|
||||||
setControllerPartLayer('tips', 'blank');
|
setControllerPartLayer('tips', 'blank');
|
||||||
|
|
||||||
hideEntitiesWithTag('finish');
|
hideEntitiesWithTag('finish');
|
||||||
onFinish();
|
|
||||||
|
|
||||||
onFinish();
|
onFinish();
|
||||||
},
|
},
|
||||||
|
@ -364,7 +363,7 @@ stepOrient.prototype = {
|
||||||
|
|
||||||
this.checkIntervalID = null;
|
this.checkIntervalID = null;
|
||||||
function checkForHandsAboveHead() {
|
function checkForHandsAboveHead() {
|
||||||
print("Checking for hands above head...");
|
print("Orient: Checking for hands above head...");
|
||||||
if (MyAvatar.getLeftPalmPosition().y > (MyAvatar.getHeadPosition().y + 0.1)) {
|
if (MyAvatar.getLeftPalmPosition().y > (MyAvatar.getHeadPosition().y + 0.1)) {
|
||||||
Script.clearInterval(this.checkIntervalID);
|
Script.clearInterval(this.checkIntervalID);
|
||||||
this.checkIntervalID = null;
|
this.checkIntervalID = null;
|
||||||
|
@ -431,7 +430,7 @@ stepRaiseAboveHead.prototype = {
|
||||||
this.waitTimeoutID = Script.setTimeout(function() {
|
this.waitTimeoutID = Script.setTimeout(function() {
|
||||||
this.checkIntervalID = null;
|
this.checkIntervalID = null;
|
||||||
function checkForHandsAboveHead() {
|
function checkForHandsAboveHead() {
|
||||||
print("Checking for hands above head...");
|
print("Raise above head: Checking for hands above head...");
|
||||||
if (MyAvatar.getLeftPalmPosition().y > (MyAvatar.getHeadPosition().y + 0.1)) {
|
if (MyAvatar.getLeftPalmPosition().y > (MyAvatar.getHeadPosition().y + 0.1)) {
|
||||||
Script.clearInterval(this.checkIntervalID);
|
Script.clearInterval(this.checkIntervalID);
|
||||||
this.checkIntervalID = null;
|
this.checkIntervalID = null;
|
||||||
|
|
Loading…
Reference in a new issue