Skip to content

Commit cd06c61

Browse files
committed
Merge pull request phaserjs#1929 from jamesgroat/getkeys-cachemap
Fix cache.GetKeys() - Use _cacheMap to map from constant to _cache.
2 parents 1e6f83d + 10587e0 commit cd06c61

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)