From 2be07aee63f34196d66545af8c7a8565aec27f0a Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 2 Oct 2024 11:41:49 +0200 Subject: [PATCH] a --- src/g_game.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/g_game.c b/src/g_game.c index 0ab5bc894..d2a4cbbb3 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -6283,14 +6283,13 @@ void G_BeginRecording(void) char demotitlename[65]; // Print to a separate temp buffer instead of demo.titlename, so we can use it in M_TextInputSetString - snprintf(demotitlename, 64, "%s - %s", title, modeattacking ? "Time Attack" : connectedservername); + snprintf(demotitlename, 64, "%s - %s", maptitle, modeattacking ? "Time Attack" : connectedservername); // Init just in case it isn't initialized already M_TextInputInit(&demo.titlenameinput, demo.titlename, sizeof(demo.titlename)); // This will indirectly assign to demo.titlename too M_TextInputSetString(&demo.titlenameinput, demotitlename); - snprintf(demo.titlename, 64, "%s - %s", maptitle, modeattacking ? "Time Attack" : connectedservername); } // demo checksum