summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 2c8c1a2ae..066492711 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -791,7 +791,8 @@ static void ToolbarLeagueClick(Window *w)
static void ToolbarIndustryClick(Window *w)
{
- PopupMainToolbMenu(w, 280, 12, STR_INDUSTRY_DIR, 2, 0);
+ int dis = _current_player == OWNER_SPECTATOR ? 2 : 0;
+ PopupMainToolbMenu(w, 280, 12, STR_INDUSTRY_DIR, 2, dis);
}
static void ToolbarTrainClick(Window *w)