【指挥官技能】增加对载具生效

main
刘涛 2024-07-08 12:55:58 +08:00
parent ab25dcc98b
commit 1018fe490f
1 changed files with 1 additions and 6 deletions

View File

@ -68,12 +68,7 @@ namespace Gameplay.PlayerSkill.Logic
// 只对角色和载具生效
continue;
}
var charactor = unit as Character.Character;
if (charactor == null)
{
continue;
}
charactor.MoveTo(owner.selectedCellIndex, true);
unit.MoveTo(owner.selectedCellIndex, true);
}
}