Do not close game if custom level has assets issues

It's quite rude to close the game entirely if there is trouble with
assets. Instead, just unload the assets and gracefully return to the
title screen.
This commit is contained in:
Misa
2021-08-06 20:57:34 -07:00
committed by Ethan Lee
parent ed9cb4ca6d
commit 8dc5d69ef3
12 changed files with 118 additions and 46 deletions

View File

@@ -1727,6 +1727,11 @@ static void menuactionpress(void)
game.returnmenu();
map.nexttowercolour();
break;
case Menu::errorloadinglevel:
music.playef(11);
game.returnmenu();
map.nexttowercolour();
break;
default:
break;
}