1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 01:29:10 +00:00

Fix: no fast forward in network was ensured only from GUI side (#11206)

This commit is contained in:
Loïc Guilloux
2023-08-17 21:14:39 +02:00
committed by GitHub
parent e8c49d3543
commit 2bf3c02fbf

View File

@@ -287,6 +287,8 @@ static CallBackFunction ToolbarPauseClick(Window *w)
*/
static CallBackFunction ToolbarFastForwardClick(Window *w)
{
if (_networking) return CBF_NONE; // no fast forward in network game
ChangeGameSpeed(_game_speed == 100);
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);