show localskin option menu in options even when youre host

this is not the pause menu one, but the options one
since some may still want to apply a localskin to a player for some reason
This commit is contained in:
Alug committed 2023-12-19 20:09:48 +01:00
1 parent dd833097b3
commit 7818f17b27
1 file changed
+2 -2
+2 -2
View File
@@ -7778,6 +7778,8 @@ static void M_Options(INT32 choice)
OP_MainMenu[4].status = OP_MainMenu[5].status = (Playing() && !(server || IsPlayerAdmin(consoleplayer))) ? (IT_GRAYEDOUT) : (IT_STRING|IT_SUBMENU);
OP_MainMenu[8].status = (Playing()) ? (IT_GRAYEDOUT) : (IT_STRING|IT_CALL); // Play credits
OP_MainMenu[11].status = (!cv_showlocalskinmenus.value) ? (IT_DISABLED) : (IT_CALL|IT_STRING);
#ifdef HAVE_DISCORDRPC
OP_DataOptionsMenu[4].status = (Playing()) ? (IT_GRAYEDOUT) : (IT_STRING|IT_SUBMENU); // Erase data
@@ -7790,8 +7792,6 @@ static void M_Options(INT32 choice)
OP_MainDef.prevMenu = currentMenu;
M_SetupNextMenu(&OP_MainDef);
OP_MainMenu[11].status = ((Playing() &&(server &&(!IsPlayerAdmin(consoleplayer)))) || (!cv_showlocalskinmenus.value)) ? (IT_DISABLED) : (IT_CALL|IT_STRING);
}
static void M_Manual(INT32 choice)