mirror of
https://github.com/wassname/phaser.git
synced 2026-07-16 01:20:13 +08:00
More updates to BitmapData.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
Phaser.Group = function (game, parent, name, useStage) {
|
||||
|
||||
if (typeof parent === 'undefined')
|
||||
if (typeof parent === 'undefined' || typeof parent === null)
|
||||
{
|
||||
parent = game.world;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user