mirror of
https://github.com/photonstorm/phaser
synced 2024-12-14 07:13:00 +00:00
Should be a string, not a Frame object
This commit is contained in:
parent
af613201f7
commit
2fb3641824
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue