mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Client] Prevent application hang on Windows when plugins don't match
This commit is contained in:
parent
0284f18876
commit
92e277d75d
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user