mirror of
https://github.com/wassname/phaser.git
synced 2026-08-15 12:45:11 +08:00
Fixed the Bring to Top bug and also fixed Group/World.swap when the child was a tail node. Also improved Group.dump significantly. Fixed Phaser.Utils namespace clash too.
This commit is contained in:
+6
-2
@@ -391,8 +391,12 @@ Phaser.Cache.prototype = {
|
||||
|
||||
var output = [];
|
||||
|
||||
for (var item in array) {
|
||||
output.push(item);
|
||||
for (var item in array)
|
||||
{
|
||||
if (item !== '__default')
|
||||
{
|
||||
output.push(item);
|
||||
}
|
||||
}
|
||||
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user