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

This commit is contained in:
indev authored and Alug committed 2025-03-19 23:47:48 +01:00
1 parent 10ea091471
commit eadf16dd14
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);