1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Rename field of all config categories

This commit is contained in:
Gymnasiast
2025-10-07 20:14:37 +02:00
parent a6515487a3
commit daa4fe8ac3
104 changed files with 1175 additions and 1175 deletions

View File

@@ -93,7 +93,7 @@ namespace OpenRCT2::Network
{
UpdateLAN();
#ifndef DISABLE_HTTP
if (Config::Get().network.Advertise)
if (Config::Get().network.advertise)
{
UpdateWAN();
}
@@ -183,9 +183,9 @@ namespace OpenRCT2::Network
{ "port", _port },
};
if (!Config::Get().network.AdvertiseAddress.empty())
if (!Config::Get().network.advertiseAddress.empty())
{
body["address"] = Config::Get().network.AdvertiseAddress;
body["address"] = Config::Get().network.advertiseAddress;
}
request.body = body.dump();
@@ -346,9 +346,9 @@ namespace OpenRCT2::Network
static std::string GetMasterServerUrl()
{
std::string result = kMasterServerURL;
if (!Config::Get().network.MasterServerUrl.empty())
if (!Config::Get().network.masterServerUrl.empty())
{
result = Config::Get().network.MasterServerUrl;
result = Config::Get().network.masterServerUrl;
}
return result;
}