fix: 浏览地图没有楼传也能传

This commit is contained in:
AncTe committed 2025-09-29 20:11:22 +08:00
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();