Should be a string, not a Frame object

This commit is contained in:
Richard Davey 2018-01-20 16:35:47 +00:00
parent af613201f7
commit 2fb3641824

View file

@ -90,7 +90,7 @@ var Blitter = new Class({
// frame MUST be part of the Blitter texture
createMultiple: function (quantity, frame, visible)
{
if (frame === undefined) { frame = this.frame; }
if (frame === undefined) { frame = this.frame.name; }
if (visible === undefined) { visible = true; }
if (!Array.isArray(frame))