summaryrefslogtreecommitdiff
path: root/road_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'road_gui.c')
-rw-r--r--road_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/road_gui.c b/road_gui.c
index c87b692a2..263acb168 100644
--- a/road_gui.c
+++ b/road_gui.c
@@ -304,6 +304,7 @@ static const WindowDesc _build_road_desc = {
void ShowBuildRoadToolbar()
{
+ if (_current_player == OWNER_SPECTATOR) return;
DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDesc(&_build_road_desc);
}