Fix road build toolbar in scenario editor
This commit is contained in:
@@ -849,7 +849,7 @@ struct BuildRoadToolbarWindow : Window {
|
|||||||
|
|
||||||
void OnRealtimeTick(uint delta_ms) override
|
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;
|
static HotkeyList road_hotkeys;
|
||||||
|
Reference in New Issue
Block a user