mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
Fix fuse getting lit 2+ times in tutorial
This commit is contained in:
parent
23e2447c60
commit
2bf13b9cf6
1 changed files with 2 additions and 2 deletions
|
@ -710,8 +710,8 @@ stepEquip.prototype = {
|
|||
|
||||
if (channel == "Tutorial-Spinner") {
|
||||
if (this.currentPart == this.PART1 && message == "wasLit") {
|
||||
this.currentPart = this.PART2;
|
||||
Script.setTimeout(function() {
|
||||
this.currentPart = this.PART2;
|
||||
hideEntitiesWithTag(this.tagPart1);
|
||||
showEntitiesWithTag(this.tagPart2);
|
||||
setControllerPartLayer('tips', 'grip');
|
||||
|
@ -724,9 +724,9 @@ stepEquip.prototype = {
|
|||
if (data.action == 'release' && data.grabbedEntity == this.gunID) {
|
||||
print("got release");
|
||||
this.stopWatchingGun();
|
||||
this.currentPart = this.COMPLETE;
|
||||
playSuccessSound();
|
||||
Script.setTimeout(this.onFinish.bind(this), 1500);
|
||||
this.currentPart = this.COMPLETE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue