mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Merge pull request #6568 from Trissolo/fixProcessQueue
[Fix] Added missing parameter to some function calls in Phaser.Structs.ProcessQueue#add
This commit is contained in:
commit
56a1bbfe8b
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ var ProcessQueue = new Class({
|
|||
add: function (item)
|
||||
{
|
||||
// Don't add if already active or pending, but DO add if active AND in the destroy list
|
||||
if (this.checkQueue && (this.isActive() && !this.isDestroying()) || this.isPending())
|
||||
if (this.checkQueue && (this.isActive(item) && !this.isDestroying(item)) || this.isPending(item))
|
||||
{
|
||||
return item;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue