You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Texture's add() function to add a new frame increments the texture's frameTotal variable even if the given name already exists in the texture. It doesn't check to make sure the name is actually unique first. The code probably should just check for this case before deciding to increment the counter.
The text was updated successfully, but these errors were encountered:
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Phaser: 3.16.2
Texture
'sadd()
function to add a new frame increments the texture'sframeTotal
variable even if the given name already exists in the texture. It doesn't check to make sure the name is actually unique first. The code probably should just check for this case before deciding to increment the counter.The text was updated successfully, but these errors were encountered: