mirror of
https://github.com/wassname/phaser.git
synced 2026-07-07 00:06:37 +08:00
ScaleMode fix, BitmapData change and Device updates.
This commit is contained in:
@@ -358,7 +358,7 @@ Phaser.Sprite.prototype.constructor = Phaser.Sprite;
|
||||
*/
|
||||
Phaser.Sprite.prototype.preUpdate = function() {
|
||||
|
||||
if (!this.exists || !this.group.exists)
|
||||
if (!this.exists || (this.group && !this.group.exists))
|
||||
{
|
||||
this.renderOrderID = -1;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user