mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Merge pull request #6499 from charlieschwabacher/patch-1
avoid TypeError in addSpriteSheet method of TextureManager
This commit is contained in:
commit
d4d68e3f71
1 changed files with 1 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ var TextureManager = new Class({
|
|||
|
||||
if (source instanceof Texture)
|
||||
{
|
||||
key = texture.key;
|
||||
key = source.key;
|
||||
texture = source;
|
||||
}
|
||||
else if (this.checkKey(key))
|
||||
|
|
Loading…
Reference in a new issue