Clear menus when running 'map' command

This commit is contained in:
indev authored and Alug committed 2025-01-13 15:54:20 +01:00
1 parent 88761ce4a4
commit 723f5a97f2
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);