mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 08:35:59 +08:00
fix: 浏览地图没有楼传也能传
This commit is contained in:
1 parent
695d069797
commit
ebe20cc285
1 file changed
+1
@@ -142,6 +142,7 @@ export const ViewMap = defineComponent<ViewMapProps>(props => {
|
||||
const openBook = () => core.openBook(true);
|
||||
|
||||
const fly = () => {
|
||||
if (!core.hasItem('fly')) return;
|
||||
const id = viewableFloor[now.value];
|
||||
const success = core.flyTo(id);
|
||||
if (success) close();
|
||||
|
||||
Reference in new issue
Block a user