mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 12:10:47 +00:00
Add pack handling to lobby configuration and cosmetic loading
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user