Keep instance when reopening world dialog

This commit is contained in:
Natsumi
2026-02-19 00:22:46 +11:00
parent 1594103f39
commit 33e3ba0fb3
3 changed files with 23 additions and 8 deletions
+3 -1
View File
@@ -84,7 +84,9 @@ export const useWorldStore = defineStore('World', () => {
}
const isMainDialogOpen = uiStore.openDialog({
type: 'world',
id: L.worldId
id: L.worldId,
tag,
shortName
});
D.visible = true;
if (isMainDialogOpen && D.id === L.worldId) {