We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f1739 commit 45944d6Copy full SHA for 45944d6
1 file changed
src/loader/Cache.js
@@ -62,10 +62,7 @@ Phaser.Cache = function (game) {
62
tilemap: {},
63
binary: {},
64
bitmapData: {},
65
- bitmapFont: {
66
- image: {},
67
- data: {}
68
- },
+ bitmapFont: {},
69
shader: {},
70
renderTexture: {}
71
};
@@ -325,7 +322,7 @@ Phaser.Cache.prototype = {
325
322
decoded = true;
326
323
}
327
324
328
- this._cache.sounds[key] = {
+ this._cache.sound[key] = {
329
url: url,
330
data: data,
331
isDecoding: false,
@@ -335,7 +332,7 @@ Phaser.Cache.prototype = {
335
332
locked: this.game.sound.touchLocked
336
333
337
334
338
- this._resolveURL(url, this._cache.sounds[key]);
+ this._resolveURL(url, this._cache.sound[key]);
339
340
},
341
0 commit comments