1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +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

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