Add positional sounds from the tilemap
This commit is contained in:
@@ -1079,7 +1079,7 @@ GameState.prototype.update = function()
|
|||||||
|
|
||||||
function _fix_audio_relative(x) {
|
function _fix_audio_relative(x) {
|
||||||
console.log(x);
|
console.log(x);
|
||||||
adjust_relative_to(x, this.player);
|
adjust_audio_relative_to(x, this.player);
|
||||||
}
|
}
|
||||||
this.staticSounds.forEach(_fix_audio_relative, this);
|
this.staticSounds.forEach(_fix_audio_relative, this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user