This commit is contained in:
FutureRave 2021-11-16 18:33:32 +00:00
parent fb8ecf637f
commit daced4427b
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -131,8 +131,8 @@ namespace Components
{
if (i + 1 >= tokens.size()) break;
const std::string key = tokens[i];
const std::string value = tokens[i + 1];
const auto& key = tokens[i];
const auto& value = tokens[i + 1];
mapRotationPair.push_back(std::make_pair(key, value));
}
@ -143,7 +143,7 @@ namespace Components
rotation.clear();
for (auto j = 0u; j < mapRotationPair.size(); j++)
{
std::pair<std::string, std::string> pair = mapRotationPair[j];
const auto& pair = mapRotationPair[j];
rotation.append(pair.first);
rotation.append(" ");
rotation.append(pair.second);
@ -196,7 +196,7 @@ namespace Components
if (Dedicated::SVRandomMapRotation.get<bool>())
{
Logger::Print("Randomizing map rotaion\n");
Logger::Print("Randomizing map rotation\n");
Dedicated::RandomizeMapRotation();
}
else