Add pack handling to lobby configuration and cosmetic loading

This commit is contained in:
Aotumuri
2025-10-01 21:11:53 +09:00
parent 3122052f60
commit 7d624f508b
11 changed files with 49 additions and 14 deletions
+2
View File
@@ -448,6 +448,7 @@ export class SinglePlayerModal extends LitElement {
selectedPattern ??= cosmetics
? (this.userSettings.getDevOnlyPattern() ?? null)
: null;
const selectedPackId = this.userSettings.getSelectedPackId();
this.dispatchEvent(
new CustomEvent("join-lobby", {
@@ -466,6 +467,7 @@ export class SinglePlayerModal extends LitElement {
? ""
: flagInput.getCurrentFlag(),
pattern: selectedPattern ?? undefined,
pack: selectedPackId ?? undefined,
},
},
],