diff --git a/src/openrct2/cmdline/RootCommands.cpp b/src/openrct2/cmdline/RootCommands.cpp index 5824478727..1c17170222 100644 --- a/src/openrct2/cmdline/RootCommands.cpp +++ b/src/openrct2/cmdline/RootCommands.cpp @@ -305,7 +305,7 @@ exitcode_t HandleCommandHost(CommandLineArgEnumerator* enumerator) gNetworkStart = NETWORK_MODE_SERVER; gNetworkStartPort = _port; - gNetworkStartAddress = _address; + gNetworkStartAddress = String::ToStd(_address); return EXITCODE_CONTINUE; }