aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/Maplist.tsx5
1 files changed, 4 insertions, 1 deletions
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 = () => {
53 // location query params 53 // location query params
54 const queryParams = new URLSearchParams(location.search); 54 const queryParams = new URLSearchParams(location.search);
55 if (queryParams.get("chapter")) { 55 if (queryParams.get("chapter")) {
56 const cat = parseFloat(queryParams.get("chapter") || ""); 56 let cat = parseFloat(queryParams.get("chapter") || "");
57 if (gameId == 2) {
58 cat += 10;
59 }
57 _fetch_chapters(cat.toString()); 60 _fetch_chapters(cat.toString());
58 } 61 }
59 62