Skip to content

Commit b4a0e7f

Browse files
committed
removeTextureAtlas now deletes the correct cache object.
1 parent 77b469b commit b4a0e7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v2-community/src/loader/Cache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ Phaser.Cache.prototype = {
19871987
*/
19881988
removeTextureAtlas: function (key) {
19891989

1990-
delete this._cache.atlas[key];
1990+
delete this._cache.image[key];
19911991

19921992
},
19931993

0 commit comments

Comments
 (0)