Fix M_ClearMenus being called too early in map command func

This commit is contained in:
indev authored and Alug committed 2025-12-01 22:55:11 +01:00
1 parent e7998f46a9
commit b67ae49356
1 file changed
+2 -1
+2 -1
View File
@@ -2647,7 +2647,6 @@ static void Command_Map_f(void)
return;
}
M_ClearMenus(true);
last_map_cmd = I_GetTime();
@@ -2830,6 +2829,8 @@ static void Command_Map_f(void)
fromlevelselect = false;
M_ClearMenus(true);
D_MapChange(newmapnum, newgametype, newencoremode, newresetplayers, 0, false, false);
}