test also save replay on mapchange command

This commit is contained in:
Alug committed 2024-09-05 00:11:30 +02:00
1 parent 1396d6b06b
commit eb2f64801e
1 file changed
+3
+3
View File
@@ -2968,6 +2968,9 @@ static void Command_Map_f(void)
}
}
if (demo.recording && (modeattacking || demo.savemode != DSM_NOTSAVING))
G_SaveDemo();
fromlevelselect = false;
D_MapChange(newmapnum, newgametype, newencoremode, newresetplayers, 0, false, false);