Browse Source

Some change

nordsoft 3 years ago
parent
commit
bebe0dd86c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      server/CVCMIServer.cpp

+ 6 - 6
server/CVCMIServer.cpp

@@ -230,12 +230,12 @@ bool CVCMIServer::prepareToStartGame()
 		state = EServerState::LOBBY;
 		state = EServerState::LOBBY;
 		// FIXME: dirry hack to make sure old CGameHandler::run is finished
 		// FIXME: dirry hack to make sure old CGameHandler::run is finished
 		boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
 		boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
-		
-		for(auto c : connections)
-		{
-			c->enterLobbyConnectionMode();
-			c->disableStackSendingByID();
-		}
+	}
+	
+	for(auto c : connections)
+	{
+		c->enterLobbyConnectionMode();
+		c->disableStackSendingByID();
 	}
 	}
 
 
 	//if(!gh)
 	//if(!gh)