mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 05:58:30 +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)
|
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++)
|
for (var i = 0; i < removed.length; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue