mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 15:50:37 +02:00
fixes per review
This commit is contained in:
parent
7e658896e6
commit
7b326c9d7b
1 changed files with 50 additions and 52 deletions
|
@ -27,7 +27,7 @@
|
|||
properties,
|
||||
lightTimer = 0,
|
||||
lightTimeoutID = undefined,
|
||||
audioInjector = null
|
||||
audioInjector = null;
|
||||
|
||||
var HIFI_PUBLIC_BUCKET = "http://s3.amazonaws.com/hifi-public/";
|
||||
var cannonSound = SoundCache.getSound(HIFI_PUBLIC_BUCKET + "philip/cannonShot.wav");
|
||||
|
@ -199,8 +199,6 @@
|
|||
});
|
||||
makeParticles(properties.position, bullet, timeOfFlight * 2);
|
||||
Script.setTimeout(explode, timeOfFlight * 1000);
|
||||
|
||||
|
||||
}
|
||||
|
||||
function explode() {
|
||||
|
@ -225,8 +223,8 @@
|
|||
shoot();
|
||||
}
|
||||
|
||||
var timeToNextCheck = 33;
|
||||
timeoutID = Script.setTimeout(maybe, timeToNextCheck);
|
||||
var TIME_TO_NEXT_CHECK = 33;
|
||||
timeoutID = Script.setTimeout(maybe, TIME_TO_NEXT_CHECK);
|
||||
}
|
||||
|
||||
this.preload = function (givenEntityID) {
|
||||
|
|
Loading…
Reference in a new issue