Open expansion-faction starts from the normal lobby

This commit is contained in:
Quintine committed 2026-10-17 14:39:09 +11:00
1 parent 5a32c1ac85
commit 5961c75a29
8 files changed
+36 -48

No files matched your search

+2 -5
View File
@@ -1085,10 +1085,7 @@ export default function Home() {
disabled={busy || claimUncertain}
onChange={(value) => {
setAdvanced(value);
if (value) {
setExpansions([]);
if (f.expansion !== 'base') setSelected('atreides');
}
if (value && f.expansion !== 'base' && !expansions.includes(f.expansion)) setSelected('atreides');
}}
/>
<p className="fine">2–6 players · up to 10 turns</p>
@@ -1101,7 +1098,7 @@ export default function Home() {
<label className="expansion" key={x.id}>
<input
type="checkbox"
disabled={busy || claimUncertain || advanced}
disabled={busy || claimUncertain}
checked={expansions.includes(x.id)}
onChange={(e) => {
setExpansions(