mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Fixed Group.removeBetween's default endIndex bug
This commit is contained in:
parent
6fd51e29b2
commit
abdf54858c
1 changed files with 1 additions and 1 deletions
|
@ -1632,7 +1632,7 @@ Phaser.Group.prototype.removeAll = function (destroy, silent) {
|
|||
*/
|
||||
Phaser.Group.prototype.removeBetween = function (startIndex, endIndex, destroy, silent) {
|
||||
|
||||
if (typeof endIndex === 'undefined') { endIndex = this.children.length; }
|
||||
if (typeof endIndex === 'undefined') { endIndex = this.children.length - 1; }
|
||||
if (typeof destroy === 'undefined') { destroy = false; }
|
||||
if (typeof silent === 'undefined') { silent = false; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue