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