mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Removed debug code
This commit is contained in:
parent
25787bde36
commit
f268ba3f6d
1 changed files with 2 additions and 9 deletions
|
@ -236,18 +236,11 @@ var DisplayList = new Class({
|
|||
{
|
||||
var list = this.list;
|
||||
|
||||
console.log('DisplayList.shutdown', list.length);
|
||||
|
||||
for (var i = 0; i < list.length; i++)
|
||||
while (list.length)
|
||||
{
|
||||
list[i].destroy(true);
|
||||
list[0].destroy(true);
|
||||
}
|
||||
|
||||
// while (list.length)
|
||||
// {
|
||||
// list[0].destroy(true);
|
||||
// }
|
||||
|
||||
this.events.off(SceneEvents.SHUTDOWN, this.shutdown, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue