mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 03:11:46 +08:00
fix: 浏览地图没有楼传也能传
This commit is contained in:
parent
695d069797
commit
ebe20cc285
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user