diff options
Diffstat (limited to 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dock_gui.c b/dock_gui.c index f7fd23af4..d84547635 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -204,6 +204,7 @@ static const WindowDesc _build_docks_toolbar_desc = { void ShowBuildDocksToolbar() { + if (_current_player == OWNER_SPECTATOR) return; DeleteWindowById(WC_BUILD_TOOLBAR, 0); AllocateWindowDesc(&_build_docks_toolbar_desc); } |