Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:17:12 -07:00
parent 34c48d083f
commit 4505486bf7

View File

@@ -106,7 +106,7 @@ SoundSprite.prototype.update_new_values = function() {
console.log("Sound should be playing");
}
SoundSprite.prototype.adjust_relative_to_player = function(spr) {
SoundSprite.prototype.adjust_relative_to = function(spr) {
console.log(spr);
if ( this.sound_nofade == true ) {
this.sound.volume = 1.0;