Only reset replay query in M_ReplayHut if replay hut wasn't open previously

This commit is contained in:
indev committed 2025-03-20 01:16:57 +03:00
1 parent a662a0a68f
commit 28af4e5277
1 file changed
+1 -2
+1 -2
View File
@@ -6887,10 +6887,9 @@ void M_ReplayHut(INT32 choice)
{
snprintf(menupath, 1024, "%s"PATHSEP"replay"PATHSEP"online"PATHSEP, srb2home);
menupathindex[(menudepthleft = menudepth-1)] = strlen(menupath);
ResetReplayQuery();
}
ResetReplayQuery();
if (!preparefilemenu(false, true))
{
M_StartMessage("No replays found.\n\n(Press a key)\n", NULL, MM_NOTHING);