mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
D_ClearState, D_StartTItle: Fix music restarting if shared between connection screen/playsim and menu
This commit is contained in:
parent
69484cd55a
commit
fd575deb10
1 changed files with 1 additions and 2 deletions
|
|
@ -921,8 +921,6 @@ void D_ClearState(void)
|
||||||
{
|
{
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
S_StopMusic();
|
|
||||||
|
|
||||||
// okay, stop now
|
// okay, stop now
|
||||||
// (otherwise the game still thinks we're playing!)
|
// (otherwise the game still thinks we're playing!)
|
||||||
SV_StopServer();
|
SV_StopServer();
|
||||||
|
|
@ -977,6 +975,7 @@ void D_ClearState(void)
|
||||||
//
|
//
|
||||||
void D_StartTitle(void)
|
void D_StartTitle(void)
|
||||||
{
|
{
|
||||||
|
S_StopMusic();
|
||||||
D_ClearState();
|
D_ClearState();
|
||||||
F_StartTitleScreen();
|
F_StartTitleScreen();
|
||||||
M_ClearMenus(false);
|
M_ClearMenus(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue