Skip to content

Commit 10587e0

Browse files
committed
Use _cacheMap to map from constant to _cache.
1 parent 1e6f83d commit 10587e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/loader/Cache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,9 +1611,9 @@ Phaser.Cache.prototype = {
16111611

16121612
var out = [];
16131613

1614-
if (this._cache[cache])
1614+
if (this._cacheMap[cache])
16151615
{
1616-
for (var key in this._cache[cache])
1616+
for (var key in this._cacheMap[cache])
16171617
{
16181618
if (key !== '__default' && key !== '__missing')
16191619
{

0 commit comments

Comments
 (0)