Enable Server Browser access in TESTER builds

Does not forbid seeing modded servers even if you haven't unlocked add-ons yet
This commit is contained in:
toaster 2023-09-27 00:14:11 +01:00
parent 47fe8bb9b1
commit b698fcfd0f
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,7 @@ menuitem_t PLAY_MP_OptSelect[] =
{IT_STRING_CALL_NOTESTERS, "Host Game", "Start your own online game!",
NULL, {.routine = M_PreMPHostInit}, 0, 0},
{IT_STRING_CALL_NOTESTERS, "Server Browser", "Search for game servers to play in.",
{IT_STRING | IT_CALL, "Server Browser", "Search for game servers to play in.",
NULL, {.routine = M_PreMPRoomSelectInit}, 0, 0},
{IT_STRING | IT_CALL, "Join by IP", "Join an online game by its IP address.",

View file

@ -75,11 +75,13 @@ void M_MPRoomSelectInit(INT32 choice)
mpmenu.scrolln = 0;
mpmenu.slide = 0;
#ifndef TESTERS
if ((modifiedgame == true) || (M_SecretUnlocked(SECRET_ADDONS, true) == false))
{
M_ServersMenu(0);
return;
}
#endif // TESTERS
M_SetupNextMenu(&PLAY_MP_RoomSelectDef, false);
}