From 10f04aea52258eb358c80abc7c5e0a3c9dcaeda4 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Fri, 9 Mar 2018 20:57:13 -0500 Subject: [PATCH] Disable "Play Credits" if you're in a game I have no clue if it'd break or not if you used this in a netgame (my gut feeling is "it would break"), but even if it worked it'd be stupid :V --- src/m_menu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/m_menu.c b/src/m_menu.c index 69f6135c..22f5c29d 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -4159,6 +4159,8 @@ static void M_Options(INT32 choice) // if the player is playing _at all_, disable the erase data options OP_DataOptionsMenu[1].status = (Playing()) ? (IT_GRAYEDOUT) : (IT_STRING|IT_SUBMENU); + // SRB2Kart: Same with the "Play Credits" option + OP_MainMenu[6].status = (Playing()) ? (IT_GRAYEDOUT) : (IT_STRING|IT_CALL); OP_MainDef.prevMenu = currentMenu; M_SetupNextMenu(&OP_MainDef);