Remove the condition in restartaudio command.

No longer needed as S_RegisterSoundStuff will return early if in
dedicated mode.
This commit is contained in:
Steel Titanium 2018-10-11 20:11:37 -04:00
parent b3faed190b
commit 450b536147
1 changed files with 0 additions and 4 deletions

View File

@ -1511,9 +1511,6 @@ static void Command_Tunes_f(void)
static void Command_RestartAudio_f(void)
{
if (dedicated) // No point in doing anything if game is a dedicated server.
return;
S_StopMusic();
I_ShutdownMusic();
I_ShutdownSound();
@ -1527,5 +1524,4 @@ static void Command_RestartAudio_f(void)
I_SetMIDIMusicVolume(cv_midimusicvolume.value);
if (Playing()) // Gotta make sure the player is in a level
P_RestoreMusic(&players[consoleplayer]);
}