Skip to content

Commit 3d64410

Browse files
committed
Fix copy paste errors
1 parent 200d92d commit 3d64410

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/loader/Cache.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ Phaser.Cache.prototype = {
10801080
* @param {string} key - Key of the asset you want to remove.
10811081
*/
10821082
removePhysics: function (key) {
1083-
delete this._text[key];
1083+
delete this._physics[key];
10841084
},
10851085

10861086
/**
@@ -1090,7 +1090,7 @@ Phaser.Cache.prototype = {
10901090
* @param {string} key - Key of the asset you want to remove.
10911091
*/
10921092
removeTilemap: function (key) {
1093-
delete this._text[key];
1093+
delete this._tilemaps[key];
10941094
},
10951095

10961096
/**
@@ -1100,7 +1100,7 @@ Phaser.Cache.prototype = {
11001100
* @param {string} key - Key of the asset you want to remove.
11011101
*/
11021102
removeBinary: function (key) {
1103-
delete this._text[key];
1103+
delete this._binary[key];
11041104
},
11051105

11061106
/**
@@ -1110,7 +1110,7 @@ Phaser.Cache.prototype = {
11101110
* @param {string} key - Key of the asset you want to remove.
11111111
*/
11121112
removeBitmapData: function (key) {
1113-
delete this._text[key];
1113+
delete this._bitmapDatas[key];
11141114
},
11151115

11161116
/**
@@ -1120,7 +1120,7 @@ Phaser.Cache.prototype = {
11201120
* @param {string} key - Key of the asset you want to remove.
11211121
*/
11221122
removeBitmapFont: function (key) {
1123-
delete this._text[key];
1123+
delete this._bitmapFont[key];
11241124
},
11251125

11261126
/**

0 commit comments

Comments
 (0)