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:
@@ -287,6 +287,8 @@ static CallBackFunction ToolbarPauseClick(Window *w)
|
|||||||
*/
|
*/
|
||||||
static CallBackFunction ToolbarFastForwardClick(Window *w)
|
static CallBackFunction ToolbarFastForwardClick(Window *w)
|
||||||
{
|
{
|
||||||
|
if (_networking) return CBF_NONE; // no fast forward in network game
|
||||||
|
|
||||||
ChangeGameSpeed(_game_speed == 100);
|
ChangeGameSpeed(_game_speed == 100);
|
||||||
|
|
||||||
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
|
if (_settings_client.sound.click_beep) SndPlayFx(SND_15_BEEP);
|
||||||
|
Reference in New Issue
Block a user