fix: 瞬移与移动冲突

This commit is contained in:
AncTe committed 2024-11-23 23:34:13 +08:00
1 parent 05d383f075
commit 12a3fed5bd
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -255,6 +255,7 @@ export function init() {
destY: number,
stepPostfix: DiredLoc[]
) {
if (heroMover.moving) return;
if (!core.status.played || core.status.lockControl) return;
if (this._setAutomaticRoute_isMoving(destX, destY)) return;
if (this._setAutomaticRoute_isTurning(destX, destY, stepPostfix))