- Exhumed: Skip the map when changing levels from the console.

The current screen job implementation does not coexist well with UI elements.
More like a hotfix, the screen job framework needs to be redone for properly handling input.
This commit is contained in:
Christoph Oelckers 2021-04-15 23:04:14 +02:00
parent 96d78ab9e6
commit 9c5f3f3673

View file

@ -225,7 +225,8 @@ void GameInterface::LevelCompleted(MapRecord *map, int skill)
{
Mus_Stop();
if (currentLevel->levelNumber == 0) gameaction = ga_mainmenu;
else Intermission(currentLevel, map);
else if (ConsoleState == c_up) Intermission(currentLevel, map);
else gameaction = ga_nextlevel;
}
//---------------------------------------------------------------------------