fix(ASTS) 修复报错

This commit is contained in:
wvellichor committed 2026-01-31 00:13:47 +08:00
1 parent f6f7076fcb
commit 8aa2a00cd1
1 file changed
-3
@@ -1131,11 +1131,8 @@ export default class AttackSkillTestScene extends Phaser.Scene {
this.controlInfoText.setText('当前控制: 元歌'); this.controlInfoText.setText('当前控制: 元歌');
// 恢复本体的移动能力 // 恢复本体的移动能力
const yuange = this.currentlyControlled;
if (yuange) {
yuange.canMove = true; yuange.canMove = true;
yuange.setVelocity(0, 0); yuange.setVelocity(0, 0);
}
// 更新技能轮盘显示为元歌本体的技能 // 更新技能轮盘显示为元歌本体的技能
this.updateSkillWheelDisplay(); this.updateSkillWheelDisplay();