diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 0ec98a2825..851289cf37 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -5,6 +5,7 @@ - Fix: [#27052] Unnamed rides in RCT2 base and Wacky Worlds scenarios have hardcoded English names. - Fix: [#27056] [Plugin] Loading water palettes from plugin does not update the palette correctly. - Fix: [#27087] The ‘Update available’ widget is offset incorrectly. +- Fix: [#27093] Pause and fast forward buttons are shown in multiplayer. 0.5.5 (2026-09-06) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/windows/TopToolbar.cpp b/src/openrct2-ui/windows/TopToolbar.cpp index 604d657579..fd6944c806 100644 --- a/src/openrct2-ui/windows/TopToolbar.cpp +++ b/src/openrct2-ui/windows/TopToolbar.cpp @@ -1152,11 +1152,19 @@ namespace OpenRCT2::Ui::Windows if (isInEditorMode()) return; - const auto mode = Network::GetMode(); - widgets[WIDX_NETWORK].setHidden(mode == Network::Mode::none); - widgets[WIDX_CHAT].setHidden(mode == Network::Mode::none); - widgets[WIDX_PAUSE].setHidden(mode == Network::Mode::client); - widgets[WIDX_FASTFORWARD].setHidden(mode == Network::Mode::server); + switch (Network::GetMode()) + { + case Network::Mode::none: + widgets[WIDX_NETWORK].setHidden(true); + widgets[WIDX_CHAT].setHidden(true); + break; + case Network::Mode::client: + widgets[WIDX_PAUSE].setHidden(true); + [[fallthrough]]; + case Network::Mode::server: + widgets[WIDX_FASTFORWARD].setHidden(true); + break; + } } void ApplyZoomState()