Commit 40259ce7 authored by 邱旭's avatar 邱旭

1

parent b88ff049
...@@ -520,8 +520,10 @@ export default class MapScene extends Scene { ...@@ -520,8 +520,10 @@ export default class MapScene extends Scene {
this.removeIcon(); this.removeIcon();
this.actIcon.destory(); this.actIcon.destory();
if(this['pic']) if(this['pic']){
egret.Tween.removeTweens(this['pic']); egret.Tween.removeTweens(this['pic']);
(this['pic'].parent as egret.DisplayObjectContainer).removeChild(this['pic']);
}
if(this.inviteTimer) { if(this.inviteTimer) {
this.inviteTimer.stop(); this.inviteTimer.stop();
...@@ -723,7 +725,7 @@ export default class MapScene extends Scene { ...@@ -723,7 +725,7 @@ export default class MapScene extends Scene {
this['fullTxt'].visible = true; this['fullTxt'].visible = true;
this['fullTxt'].text = `${data.remainEnargy}/${data.remainEnargy}`; this['fullTxt'].text = `${data.remainEnargy}/${BLOOD_NUMS_MAX}`;
this['countdown'].visible = false; this['countdown'].visible = false;
} else { } else {
......
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