From 42b47d2674f5b2ea76e576f2a45be89940d92d0e Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Thu, 30 Nov 2017 22:56:54 +0100 Subject: [PATCH] Fixed few references --- v3/src/sound/BaseSoundManager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/src/sound/BaseSoundManager.js b/v3/src/sound/BaseSoundManager.js index fb2abeba1..858bc40f1 100644 --- a/v3/src/sound/BaseSoundManager.js +++ b/v3/src/sound/BaseSoundManager.js @@ -98,10 +98,10 @@ var BaseSoundManager = new Class({ */ sound.spritemap = this.game.cache.json.get(key).spritemap; for (var markerName in sound.spritemap) { - if (!this.spritemap.hasOwnProperty(markerName)) { + if (!sound.spritemap.hasOwnProperty(markerName)) { continue; } - var marker = this.spritemap[markerName]; + var marker = sound.spritemap[markerName]; sound.addMarker({ name: markerName, start: marker.start,