Fix RootCommands _address type from char* to u8string

This commit is contained in:
mix committed 2026-05-02 15:21:21 +01:00
1 parent 8b90ce579d
commit 432baaaa61
1 file changed
+2 -2
+2 -2
View File
@@ -46,7 +46,7 @@ namespace OpenRCT2
std::string gNetworkStartAddress;
static uint32_t _port = 0;
static char* _address = nullptr;
static u8string _address;
#endif
static bool _help = false;
@@ -307,7 +307,7 @@ namespace OpenRCT2
gNetworkStart = Network::Mode::server;
gNetworkStartPort = _port;
gNetworkStartAddress = String::toStd(_address);
gNetworkStartAddress = _address;
return EXITCODE_CONTINUE;
}