Do not record replays when dedicated

This commit is contained in:
James R 2019-03-04 22:26:05 -08:00
parent 0bf3834174
commit af19a2c29d

View file

@ -3164,7 +3164,7 @@ boolean P_SetupLevel(boolean skipprecip)
: mapheaderinfo[gamemap - 1]->numlaps);
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
if (!demoplayback && multiplayer) {
if (!demoplayback && multiplayer && !dedicated) {
static char buf[256];
sprintf(buf, "replay"PATHSEP"online"PATHSEP"%d-%s", (int) (time(NULL)), G_BuildMapName(gamemap));