mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
Fix success sound for tutorial
This commit is contained in:
parent
8d2f558ac3
commit
80b53a30d7
1 changed files with 3 additions and 0 deletions
|
@ -367,6 +367,7 @@ stepNearGrab.prototype = {
|
|||
}
|
||||
if (channel == "Entity-Exploded") {
|
||||
print("TUTORIAL: Got entity-exploded message");
|
||||
playSuccessSound();
|
||||
var data = parseJSON(message);
|
||||
//if (data.entityID == this.boxID) {
|
||||
this.finished = true;
|
||||
|
@ -459,6 +460,7 @@ stepFarGrab.prototype = {
|
|||
}
|
||||
if (channel == "Entity-Exploded") {
|
||||
print("TUTORIAL: Got entity-exploded message");
|
||||
playSuccessSound();
|
||||
var data = parseJSON(message);
|
||||
if (data.entityID == this.boxID) {
|
||||
this.finished = true;
|
||||
|
@ -818,6 +820,7 @@ function startTutorial() {
|
|||
}
|
||||
//location = "/tutorial_begin";
|
||||
location = "/tutorial";
|
||||
MyAvatar.shouldRenderLocally = false;
|
||||
startNextStep();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue