Clear menus when running 'map' command

This commit is contained in:
indev committed 2025-01-13 14:25:14 +03:00
1 parent d09d2dcffd
commit b5be515b9b
1 file changed
+3
+3
View File
@@ -2709,6 +2709,8 @@ static void Command_Map_f(void)
return;
}
M_ClearMenus(true);
last_map_cmd = I_GetTime();
size_t first_option;
@@ -2901,6 +2903,7 @@ static void Command_Map_f(void)
}
fromlevelselect = false;
D_MapChange(newmapnum, newgametype, newencoremode, newresetplayers, 0, false, false);
Z_Free(realmapname);