mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:47:11 +02:00
Add success sound
This commit is contained in:
parent
a89064f96f
commit
eb195e2fb8
1 changed files with 2 additions and 0 deletions
|
@ -644,6 +644,7 @@ stepTurnAround.prototype = {
|
||||||
Script.clearInterval(this.interval);
|
Script.clearInterval(this.interval);
|
||||||
this.interval = null;
|
this.interval = null;
|
||||||
print("DONE");
|
print("DONE");
|
||||||
|
playSuccessSound();
|
||||||
onFinish();
|
onFinish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -697,6 +698,7 @@ stepTeleport.prototype = {
|
||||||
print("On pad!!");
|
print("On pad!!");
|
||||||
Script.clearInterval(this.checkCollidesTimer);
|
Script.clearInterval(this.checkCollidesTimer);
|
||||||
this.checkCollidesTimer = null;
|
this.checkCollidesTimer = null;
|
||||||
|
playSuccessSound();
|
||||||
onFinish();
|
onFinish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue