mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 21:57:59 +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.messageReceived.connect(handleHandMessages);
|
||||
Messages.messageReceived.connect(handleMessage);
|
||||
|
||||
}()); // END LOCAL_SCOPE
|
||||
|
|
|
@ -228,7 +228,6 @@ stepDisableControllers.prototype = {
|
|||
setControllerPartLayer('tips', 'blank');
|
||||
|
||||
hideEntitiesWithTag('finish');
|
||||
onFinish();
|
||||
|
||||
onFinish();
|
||||
},
|
||||
|
@ -364,7 +363,7 @@ stepOrient.prototype = {
|
|||
|
||||
this.checkIntervalID = null;
|
||||
function checkForHandsAboveHead() {
|
||||
print("Checking for hands above head...");
|
||||
print("Orient: Checking for hands above head...");
|
||||
if (MyAvatar.getLeftPalmPosition().y > (MyAvatar.getHeadPosition().y + 0.1)) {
|
||||
Script.clearInterval(this.checkIntervalID);
|
||||
this.checkIntervalID = null;
|
||||
|
@ -431,7 +430,7 @@ stepRaiseAboveHead.prototype = {
|
|||
this.waitTimeoutID = Script.setTimeout(function() {
|
||||
this.checkIntervalID = null;
|
||||
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)) {
|
||||
Script.clearInterval(this.checkIntervalID);
|
||||
this.checkIntervalID = null;
|
||||
|
|
Loading…
Reference in a new issue