From 53ff710364db82dbd7a3bd1feba351980f46a971 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 13 Jun 2023 19:07:34 +0100 Subject: [PATCH] Fix road build toolbar in scenario editor --- src/road_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 487293c991..7c2688e6cd 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -849,7 +849,7 @@ struct BuildRoadToolbarWindow : Window { void OnRealtimeTick(uint delta_ms) override { - if (this->IsWidgetLowered(WID_ROT_BUILD_WAYPOINT)) CheckRedrawWaypointCoverage(this, true); + if (_game_mode == GM_NORMAL && this->IsWidgetLowered(WID_ROT_BUILD_WAYPOINT)) CheckRedrawWaypointCoverage(this, true); } static HotkeyList road_hotkeys;