mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 16:49:54 +00:00
[Client] Use boolean var instead requestQuit or throwing runtime_error
This commit is contained in:
parent
e0139c33b3
commit
93edd67681
1 changed files with 1 additions and 4 deletions
|
@ -386,10 +386,7 @@ 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(__WINDOWS)
|
||||
throw std::runtime_error("Shutting down.");
|
||||
#endif
|
||||
MWBase::Environment::get().getStateManager()->requestQuit();
|
||||
connected = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue