Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:21:59 -07:00
parent 83ae6e3a0b
commit ee9a552276

View File

@@ -1079,7 +1079,7 @@ GameState.prototype.update = function()
function _fix_audio_relative(x) {
console.log(x);
adjust_relative_to(x, this.player);
adjust_audio_relative_to(x, this.player);
}
this.staticSounds.forEach(_fix_audio_relative, this);