Browse Source

Remove useless code

Tomasz Zieliński 1 year ago
parent
commit
f650072da1
1 changed files with 0 additions and 6 deletions
  1. 0 6
      client/CServerHandler.cpp

+ 0 - 6
client/CServerHandler.cpp

@@ -140,12 +140,6 @@ CServerHandler::CServerHandler()
 {
 {
 	uuid = boost::uuids::to_string(boost::uuids::random_generator()());
 	uuid = boost::uuids::to_string(boost::uuids::random_generator()());
 	registerTypesLobbyPacks(*applier);
 	registerTypesLobbyPacks(*applier);
-
-	auto lastDifficulty = settings["general"]["lastDifficulty"];
-	if (lastDifficulty.isNumber())
-	{
-		si->difficulty = lastDifficulty.Integer();
-	}
 }
 }
 
 
 void CServerHandler::threadRunNetwork()
 void CServerHandler::threadRunNetwork()