mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Swap for isArray check
This commit is contained in:
parent
054ceafae0
commit
441ca3862c
1 changed files with 1 additions and 1 deletions
|
@ -958,7 +958,7 @@ var Camera = new Class({
|
|||
*/
|
||||
ignore: function (gameObjectOrArray)
|
||||
{
|
||||
if (gameObjectOrArray instanceof Array)
|
||||
if (Array.isArray(gameObjectOrArray))
|
||||
{
|
||||
for (var index = 0; index < gameObjectOrArray.length; ++index)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue