1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00

[Client] Prevent application hang on Windows when plugins don't match

This commit is contained in:
David Cernat 2017-05-03 02:17:19 +03:00
parent 0284f18876
commit 92e277d75d

View file

@ -396,6 +396,9 @@ void Networking::preInit(std::vector<std::string> &content, Files::Collections &
{
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, comparePluginsMonospaced(checksums, checksumsResponse, true).c_str());
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0);
#if defined(_MSC_VER)
throw std::runtime_error("Shutting down.");
#endif
MWBase::Environment::get().getStateManager()->requestQuit();
}
}