1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Remove useless code

This commit is contained in:
Tomasz Zieliński 2024-03-01 11:46:01 +01:00
parent 35c1ef7be2
commit f650072da1

View File

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