Merge branch 'master' into ai/issue-48
Some checks failed
Test / test (push) Failing after 2s

This commit is contained in:
2026-10-15 11:14:37 +00:00
3 changed files with 211 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
import { ClearWindow, GetFirstWindowId } from './Windows'
import { ClearWindow, CreateWindow, GetFirstWindowId } from './Windows'
/*
Put here all dragonroll windows
@@ -26,7 +26,12 @@ const defWindows = {
settings: {
title: "windows.settings",
component: () => import('~/components/windows/SettingsWindow.vue'),
close: () => ClearWindow({type: 'settings'}),
// The settings window is only opened from the main menu, so closing it goes back
// there: CreateWindow leaves a window that is already open alone.
close: () => {
ClearWindow({ type: 'settings' });
CreateWindow('main_menu');
},
movable: true
},
create_campaign: {