mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 21:31:04 +00:00
Do not record replays when dedicated
This commit is contained in:
parent
0bf3834174
commit
af19a2c29d
1 changed files with 1 additions and 1 deletions
|
@ -3164,7 +3164,7 @@ boolean P_SetupLevel(boolean skipprecip)
|
||||||
: mapheaderinfo[gamemap - 1]->numlaps);
|
: mapheaderinfo[gamemap - 1]->numlaps);
|
||||||
|
|
||||||
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
|
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
|
||||||
if (!demoplayback && multiplayer) {
|
if (!demoplayback && multiplayer && !dedicated) {
|
||||||
static char buf[256];
|
static char buf[256];
|
||||||
sprintf(buf, "replay"PATHSEP"online"PATHSEP"%d-%s", (int) (time(NULL)), G_BuildMapName(gamemap));
|
sprintf(buf, "replay"PATHSEP"online"PATHSEP"%d-%s", (int) (time(NULL)), G_BuildMapName(gamemap));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue