mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Remove use of non-existent begin variable and
reference beginIndex instead
This commit is contained in:
parent
7f7a355686
commit
e6cb910d6a
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ PIXI.DisplayObjectContainer.prototype.removeChildren = function (beginIndex, end
|
|||
|
||||
if (range > 0 && range <= endIndex)
|
||||
{
|
||||
var removed = this.children.splice(begin, range);
|
||||
var removed = this.children.splice(beginIndex, range);
|
||||
|
||||
for (var i = 0; i < removed.length; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue