BASE: Fix infinite loop upon trying to play a game and not finding the engine

A regression from f74ba29753
This commit is contained in:
Matthew Hoops 2015-02-22 16:49:00 -05:00
parent 877474cd32
commit bab1afa6cc

View File

@ -552,6 +552,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
PluginManager::instance().loadAllPlugins(); // only for cached manager
} else {
GUI::displayErrorDialog(_("Could not find any engine capable of running the selected game"));
// Clear the active domain
ConfMan.setActiveDomain("");
}
// reset the graphics to default