From 3390cb512125e4bc3ef80a14a6e8fc5ad878adcc Mon Sep 17 00:00:00 2001
From: toaster <rollerorbital@gmail.com>
Date: Tue, 21 May 2024 00:56:53 +0100
Subject: [PATCH] Move Challenges to second entry of Extras menu

Addons, Challenges, and Online Manual are the three primary visible entries now
---
 src/k_menu.h         | 2 +-
 src/menus/extras-1.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/k_menu.h b/src/k_menu.h
index 41192a9fbc..116caa7936 100644
--- a/src/k_menu.h
+++ b/src/k_menu.h
@@ -1213,9 +1213,9 @@ extern struct extrasmenu_s {
 typedef enum
 {
 	extras_addons = 0,
+	extras_challenges,
 	extras_manual,
 	extras_tutorial,
-	extras_challenges,
 	extras_statistics,
 	extras_eggtv,
 	extras_stereo,
diff --git a/src/menus/extras-1.c b/src/menus/extras-1.c
index 5e391c614b..1c3888ca76 100644
--- a/src/menus/extras-1.c
+++ b/src/menus/extras-1.c
@@ -62,15 +62,15 @@ menuitem_t EXTRAS_Main[] =
 	{IT_STRING | IT_CALL, NULL, NULL,
 		NULL, {.routine = M_Addons}, 0, 0},
 
+	{IT_STRING | IT_CALL, "Challenges", "View the requirements for some of the secret content you can unlock!",
+		NULL, {.routine = M_Challenges}, 0, 0},
+
 	{IT_STRING | IT_CALL, "Online Manual", "Learn everything there is to know about handling, items, and strategy.",
 		NULL, {.routine = M_Manual}, 0, 0},
 
 	{IT_STRING | IT_CALL, "Tutorial", "Help Dr. Robotnik and Tails test out their new Ring Racers.",
 		NULL, {.routine = M_LevelSelectInit}, 0, GT_TUTORIAL},
 
-	{IT_STRING | IT_CALL, "Challenges", "View the requirements for some of the secret content you can unlock!",
-		NULL, {.routine = M_Challenges}, 0, 0},
-
 	{IT_STRING | IT_CALL, "Statistics", "Look back on some of your greatest achievements such as your playtime and wins!",
 		NULL, {.routine = M_Statistics}, 0, 0},
 
-- 
GitLab