aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.cpp')
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 701395d3..cfb92409 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -92,10 +92,12 @@ std::string unescape_unicode(const std::string& str)
result.push_back(cp & ((1 << 6) - 1) | 0b10000000 & (~(1 << 6)));
}
}
- if (!last_match.ready()) {
+ if (!last_match.ready())
+ {
return str;
}
- else {
+ else
+ {
result.append(last_match.suffix());
}
return result;
@@ -392,8 +394,9 @@ void MasterServerManager::RequestServerList()
newServer->requiredMods.push_back(modInfo);
}
- // Can probably re-enable this later with a -verbose flag, but slows down loading of the server browser quite a bit as is
- //spdlog::info(
+ // Can probably re-enable this later with a -verbose flag, but slows down loading of the server browser quite a bit as
+ // is
+ // spdlog::info(
// "Server {} on map {} with playlist {} has {}/{} players", serverObj["name"].GetString(),
// serverObj["map"].GetString(), serverObj["playlist"].GetString(), serverObj["playerCount"].GetInt(),
// serverObj["maxPlayers"].GetInt());