From a6a5735e4869ac9835a0b2a1f7740448ecd63449 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Fri, 1 Nov 2024 17:56:35 +0100
Subject: frontend: uploadrundialog.tsx

---
 frontend/src/pages/Maplist.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'frontend/src/pages/Maplist.tsx')

diff --git a/frontend/src/pages/Maplist.tsx b/frontend/src/pages/Maplist.tsx
index a76c1f5..4c1c172 100644
--- a/frontend/src/pages/Maplist.tsx
+++ b/frontend/src/pages/Maplist.tsx
@@ -53,7 +53,10 @@ const Maplist: React.FC = () => {
     // location query params
     const queryParams = new URLSearchParams(location.search);
     if (queryParams.get("chapter")) {
-        const cat = parseFloat(queryParams.get("chapter") || "");
+        let cat = parseFloat(queryParams.get("chapter") || "");
+		if (gameId == 2) {
+			cat += 10;
+		}
 		_fetch_chapters(cat.toString());
 	}
 
-- 
cgit v1.2.3

