mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 07:22:10 +00:00
Don't init the sound system on dedicated servers
This commit is contained in:
parent
7c3c09b95d
commit
8ba644679b
1 changed files with 8 additions and 2 deletions
|
|
@ -1224,6 +1224,12 @@ void D_SRB2Main(void)
|
||||||
R_Init();
|
R_Init();
|
||||||
|
|
||||||
// setting up sound
|
// setting up sound
|
||||||
|
if (dedicated)
|
||||||
|
{
|
||||||
|
nosound = true;
|
||||||
|
nomidimusic = nodigimusic = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
CONS_Printf("S_Init(): Setting up sound.\n");
|
CONS_Printf("S_Init(): Setting up sound.\n");
|
||||||
if (M_CheckParm("-nosound"))
|
if (M_CheckParm("-nosound"))
|
||||||
nosound = true;
|
nosound = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue