mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
fix repeated launches of single player
now server actually terminates
This commit is contained in:
@ -190,7 +190,7 @@ void CServerHandler::startLocalServerAndConnect()
|
||||
boost::condition_variable cond;
|
||||
threadRunLocalServer = std::make_shared<boost::thread>([&cond, this] {
|
||||
setThreadName("CVCMIServer");
|
||||
CVCMIServer::create(&cond);
|
||||
CVCMIServer::create(&cond, uuid);
|
||||
// todo ios copypaste
|
||||
threadRunLocalServer.reset();
|
||||
CSH->campaignServerRestartLock.setn(false);
|
||||
|
Reference in New Issue
Block a user