- changemap must use the current UI level if the user wants to go to "*".

This commit is contained in:
Christoph Oelckers 2019-01-28 02:08:49 +01:00
parent aee8851643
commit 64e9f7e43b

View file

@ -366,7 +366,7 @@ CCMD (changemap)
if (argv.argc() > 1)
{
const char *mapname = argv[1];
if (!strcmp(mapname, "*")) mapname = level.MapName.GetChars();
if (!strcmp(mapname, "*")) mapname = currentUILevel->MapName.GetChars();
try
{