mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
Tack on a timestamp to replay filenames
This commit is contained in:
parent
e5be5e80ba
commit
43c4917e96
1 changed files with 4 additions and 1 deletions
|
@ -3158,7 +3158,10 @@ boolean P_SetupLevel(boolean skipprecip)
|
|||
|
||||
//@TODO NET REPLAYS NEED BETTER FILE NAMING STUFF. ALSO OPTIONS. FUCK.
|
||||
if (!demoplayback && multiplayer) {
|
||||
G_RecordDemo("net_replay_test");
|
||||
#include "time.h"
|
||||
static char buf[256];
|
||||
sprintf(buf, "net_replay_test_%d", time(NULL));
|
||||
G_RecordDemo(buf);
|
||||
}
|
||||
|
||||
// ===========
|
||||
|
|
Loading…
Reference in a new issue