diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 05251a1093..609d681983 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -5,6 +5,7 @@ - Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files. - Fix: [#13894] Block brakes do not animate. - Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean. +- Fix: [#14330] join_server uses default_port from config. 0.3.3 (2021-03-13) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/windows/ServerList.cpp b/src/openrct2-ui/windows/ServerList.cpp index 6c616acefc..ddfeed9acb 100644 --- a/src/openrct2-ui/windows/ServerList.cpp +++ b/src/openrct2-ui/windows/ServerList.cpp @@ -520,7 +520,7 @@ static void server_list_get_item_button(int32_t buttonIndex, int32_t x, int32_t static void join_server(std::string address) { - int32_t port = gConfigNetwork.default_port; + int32_t port = NETWORK_DEFAULT_PORT; auto beginBracketIndex = address.find('['); auto endBracketIndex = address.find(']'); auto dotIndex = address.find('.');