mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_SpecificMenuRestore: Fix a bug where setup_numplayers was always being set to 1, instead of only when "skipping" character select via netgame connection
This commit is contained in:
parent
03d422560d
commit
5b0b118ee5
2 changed files with 4 additions and 5 deletions
|
|
@ -2516,6 +2516,10 @@ static void Command_connect(void)
|
|||
// Menu restore state.
|
||||
restoreMenu = &PLAY_MP_OptSelectDef;
|
||||
S_ChangeMusicInternal("NETMD2", true);
|
||||
if (setup_numplayers == 0)
|
||||
{
|
||||
setup_numplayers = 1;
|
||||
}
|
||||
|
||||
CL_ConnectToServer();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -448,11 +448,6 @@ menu_t *M_SpecificMenuRestore(menu_t *torestore)
|
|||
M_MPOptSelectInit(-1);
|
||||
}
|
||||
|
||||
if (setup_numplayers == 0)
|
||||
{
|
||||
setup_numplayers = 1;
|
||||
}
|
||||
|
||||
return torestore;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue