mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +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;
|
var list = this.list;
|
||||||
|
|
||||||
console.log('DisplayList.shutdown', list.length);
|
while (list.length)
|
||||||
|
|
||||||
for (var i = 0; i < list.length; i++)
|
|
||||||
{
|
{
|
||||||
list[i].destroy(true);
|
list[0].destroy(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// while (list.length)
|
|
||||||
// {
|
|
||||||
// list[0].destroy(true);
|
|
||||||
// }
|
|
||||||
|
|
||||||
this.events.off(SceneEvents.SHUTDOWN, this.shutdown, this);
|
this.events.off(SceneEvents.SHUTDOWN, this.shutdown, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue