Clear menus when running 'map' command

This commit is contained in:
indev authored and Alug committed 2025-01-13 15:53:51 +01:00
1 parent 4e4871fe93
commit e7d3e03169
1 file changed
+3
+3
View File
@@ -2702,6 +2702,8 @@ static void Command_Map_f(void)
return;
}
M_ClearMenus(true);
last_map_cmd = I_GetTime();
size_t first_option;
@@ -2894,6 +2896,7 @@ static void Command_Map_f(void)
}
fromlevelselect = false;
D_MapChange(newmapnum, newgametype, newencoremode, newresetplayers, 0, false, false);
Z_Free(realmapname);