mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-12-24 21:53:06 +00:00
[Client] Prevent application hang on Windows when plugins don't match
This commit is contained in:
parent
0284f18876
commit
92e277d75d
1 changed files with 3 additions and 0 deletions
|
|
@ -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());
|
LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, comparePluginsMonospaced(checksums, checksumsResponse, true).c_str());
|
||||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0);
|
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();
|
MWBase::Environment::get().getStateManager()->requestQuit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue