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
+6 -9
+6 -9
View File
@@ -1128,17 +1128,14 @@ export default class AttackSkillTestScene extends Phaser.Scene {
yuange.setSelected(true);
// 更新UI提示
this.controlInfoText.setText('当前控制: 元歌');
this.controlInfoText.setText('当前控制: 元歌');
// 恢复本体的移动能力
const yuange = this.currentlyControlled;
if (yuange) {
yuange.canMove = true;
yuange.setVelocity(0, 0);
}
// 恢复本体的移动能力
yuange.canMove = true;
yuange.setVelocity(0, 0);
// 更新技能轮盘显示为元歌本体的技能
this.updateSkillWheelDisplay();
// 更新技能轮盘显示为元歌本体的技能
this.updateSkillWheelDisplay();
// 更新选择系统并锁定相机到本体
import('../../systems/ControlMode.js').then(mod => {