From 668d598002b6ea22b9d4acb8adbd2ac1f58f3dce Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Tue, 23 Jun 2026 16:54:00 +0200 Subject: [PATCH] add 11th edition support --- src/App.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 2433a25..2643a2e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -112,6 +112,10 @@ function App() { setRoster(roster); setEdition(10); setError(""); + } else if (roster.gameType == "Warhammer 40,000 11th Edition") { + setRoster(roster); + setEdition(11); + setError(""); } posthog?.capture?.("user_loaded_roster_from_localstorage", { roster_faction: roster.forces[0].catalog, @@ -242,7 +246,7 @@ function App() { fontWeight: 400, }} > - Now with 10th edition support! + Now with 11th edition support!
@@ -375,8 +379,8 @@ function App() { { - // only show when 10th edition - edition === 10 && ( + // only show when 10th or 11th edition + (edition === 10 || edition === 11) && (