mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fixed few references
This commit is contained in:
parent
c1adc63ffd
commit
42b47d2674
1 changed files with 2 additions and 2 deletions
|
@ -98,10 +98,10 @@ var BaseSoundManager = new Class({
|
||||||
*/
|
*/
|
||||||
sound.spritemap = this.game.cache.json.get(key).spritemap;
|
sound.spritemap = this.game.cache.json.get(key).spritemap;
|
||||||
for (var markerName in sound.spritemap) {
|
for (var markerName in sound.spritemap) {
|
||||||
if (!this.spritemap.hasOwnProperty(markerName)) {
|
if (!sound.spritemap.hasOwnProperty(markerName)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var marker = this.spritemap[markerName];
|
var marker = sound.spritemap[markerName];
|
||||||
sound.addMarker({
|
sound.addMarker({
|
||||||
name: markerName,
|
name: markerName,
|
||||||
start: marker.start,
|
start: marker.start,
|
||||||
|
|
Loading…
Reference in a new issue