mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-18 13:24:30 +08:00
fix: 大地图自动寻路
This commit is contained in:
1 parent
f98362f748
commit
c6b701c9ff
5 files changed
+5
-86
No files matched your search
@@ -171,8 +171,12 @@ export function init() {
|
||||
adapters['hero-adapter']?.sync('setAnimateDir', value);
|
||||
setHeroDirection(value as Dir);
|
||||
} else if (name === 'x') {
|
||||
// 为了防止逆天样板出问题
|
||||
core.bigmap.posX = value as number;
|
||||
adapters['hero-adapter']?.sync('setHeroLoc', value);
|
||||
} else {
|
||||
// 为了防止逆天样板出问题
|
||||
core.bigmap.posY = value as number;
|
||||
adapters['hero-adapter']?.sync('setHeroLoc', void 0, value);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user