diff options
author | zuu <zuu@openttd.org> | 2015-12-10 18:28:01 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2015-12-10 18:28:01 +0000 |
commit | aabc46712a8df13f7b58b53d366dbaa810535687 (patch) | |
tree | 3a641b38881a0164a5c3eb7308e847ed7fb67898 /src/ai | |
parent | 6a52c972c79142084b82f13ee5d33ce621b6f820 (diff) | |
download | openttd-aabc46712a8df13f7b58b53d366dbaa810535687.tar.xz |
(svn r27468) -Fix (r27444): Game Scripts were not displayed in the content download window when opened from the AI/GS settings window.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 0c557d790..8944e8bc4 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -901,8 +901,7 @@ struct AIConfigWindow : public Window { ShowErrorMessage(STR_NETWORK_ERROR_NOTAVAILABLE, INVALID_STRING_ID, WL_ERROR); } else { #if defined(ENABLE_NETWORK) - ShowNetworkContentListWindow(NULL, CONTENT_TYPE_AI); - _network_content_client.RequestContentList(CONTENT_TYPE_GAME); + ShowNetworkContentListWindow(NULL, CONTENT_TYPE_AI, CONTENT_TYPE_GAME); #endif } break; |