mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 00:43:30 +02:00
tweak THE_SONG
This commit is contained in:
parent
8c4d7b98fd
commit
ca6c413221
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
var _this;
|
||||
var BOOMBOX_USER_DATA_KEY = "boombox";
|
||||
var THE_SONG = "http://hifi-public.s3.amazonaws.com/ryan/freaks7.wav";
|
||||
|
||||
// this is the "constructor" for the entity as a JS object we don't do much here, but we do want to remember
|
||||
// our this object, so we can access it in cases where we're called without a this (like in the case of various global signals)
|
||||
|
@ -109,7 +110,7 @@
|
|||
print("preload!");
|
||||
this.entityID = entityID;
|
||||
Script.update.connect(this.update);
|
||||
this.song = SoundCache.getSound("http://hifi-public.s3.amazonaws.com/ryan/freaks7.wav");
|
||||
this.song = SoundCache.getSound(THE_SONG);
|
||||
},
|
||||
|
||||
// unload() will be called when our entity is no longer available. It may be because we were deleted,
|
||||
|
|
Loading…
Reference in a new issue