Merge pull request #6499 from charlieschwabacher/patch-1

avoid TypeError in addSpriteSheet method of TextureManager
This commit is contained in:
Richard Davey 2023-07-21 16:26:44 +01:00 committed by GitHub
commit d4d68e3f71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))