mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-08 13:44:30 +08:00
fix: 悬停错位
This commit is contained in:
1 parent
3c5a310146
commit
003369bed1
4 files changed
+12
-8
No files matched your search
@@ -218,10 +218,11 @@ export function init() {
|
||||
(core.flags.flyNearStair && !core.nearStair())
|
||||
)
|
||||
return false;
|
||||
if (core.flyTo(floorId, core.replay)) {
|
||||
tipAndWait(`飞往:${floorId}`, 1000);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
tipAndWait(`飞往:${floorId}`, 1000).then(() => {
|
||||
if (!core.flyTo(floorId, core.replay)) {
|
||||
core.control._replay_error(action);
|
||||
}
|
||||
});
|
||||
return true;
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user