Commit e022d431 authored by limingzhe's avatar limingzhe

fix: debug

parent e3615e7f
...@@ -402,7 +402,9 @@ cc.Class({ ...@@ -402,7 +402,9 @@ cc.Class({
const dragonDisplay = pageturn.getComponent(dragonBones.ArmatureDisplay); const dragonDisplay = pageturn.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.on(dragonBones.EventObject.COMPLETE, () => { dragonDisplay.on(dragonBones.EventObject.COMPLETE, () => {
if (this.isDestroy) {
return;
}
pageturn.removeFromParent(); pageturn.removeFromParent();
}) })
dragonDisplay.playAnimation('pageturn2', 1); dragonDisplay.playAnimation('pageturn2', 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment