mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Merge pull request #3028 from Nordsoft91/fixes
Fix campaign advance crash
This commit is contained in:
commit
773fb965ba
@ -924,7 +924,7 @@ void CServerHandler::threadHandleConnection()
|
||||
try
|
||||
{
|
||||
sendClientConnecting();
|
||||
while(c->connected)
|
||||
while(c && c->connected)
|
||||
{
|
||||
while(state == EClientState::STARTING)
|
||||
boost::this_thread::sleep_for(boost::chrono::milliseconds(10));
|
||||
|
Loading…
Reference in New Issue
Block a user