1
0
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:
Nordsoft91 2023-10-10 23:41:52 +02:00 committed by GitHub
commit 773fb965ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));