mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
fixed syntax error
This commit is contained in:
parent
4c8be15ca3
commit
7bf97bfb92
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
function stopUpdateAndReclaim() {
|
function stopUpdateAndReclaim() {
|
||||||
//when the baton is released;
|
//when the baton is released;
|
||||||
print('EBL I released the object ' + _entityID)
|
print('EBL I released the object ' + _this.entityID)
|
||||||
iOwn = false;
|
iOwn = false;
|
||||||
if (connected === true) {
|
if (connected === true) {
|
||||||
connected = false;
|
connected = false;
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
// if (seconds === 0 && minutes === 0) {
|
// if (seconds === 0 && minutes === 0) {
|
||||||
// _this.popCuckooOut();
|
// _this.popCuckooOut();
|
||||||
// }
|
// }
|
||||||
if (seconds % 30 === 0) {
|
if (seconds % 15 === 0) {
|
||||||
_this.popCuckooOut();
|
_this.popCuckooOut();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
popCuckooOut: function() {
|
popCuckooOut: function() {
|
||||||
// We are at the top of the hour!
|
// We are at the top of the hour!
|
||||||
_this.position = Entities.getEntityProperties(_this.entityID, "position").position;
|
_this.position = Entities.getEntityProperties(_this.entityID, "position").position;
|
||||||
|
print("EBL POP CUCKOO CLOCK!!!!!!!!!!!");
|
||||||
if(!_this.cuckooSoundInjector) {
|
if(!_this.cuckooSoundInjector) {
|
||||||
_this.cuckooSoundInjector = Audio.playSound(_this.cuckooSound, {position: _this.position, volume: _this.CUCKOO_SOUND_VOLUME});
|
_this.cuckooSoundInjector = Audio.playSound(_this.cuckooSound, {position: _this.position, volume: _this.CUCKOO_SOUND_VOLUME});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue