mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
commit
6ba3f49b08
1 changed files with 6 additions and 6 deletions
|
@ -72,7 +72,7 @@ var Add = function (array, item, limit, callback, context)
|
|||
if (array.indexOf(item[itemLength]) !== -1)
|
||||
{
|
||||
// Already exists in array, so remove it
|
||||
item.pop();
|
||||
item.splice(itemLength, 1);
|
||||
}
|
||||
|
||||
itemLength--;
|
||||
|
|
Loading…
Reference in a new issue