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
This commit is contained in:
TehRealSalt 2018-03-09 20:57:13 -05:00
parent 7e007c2832
commit 10f04aea52
1 changed files with 2 additions and 0 deletions

View File

@ -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);