summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 22:27:15 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 22:27:15 +0000
commited04bef953da730829770e98fc3a91649eeee23e (patch)
tree45451a9d1d0685e10c5ea6f0043f331489893416 /src/network
parentf7b2a87292fdfec4bc695e4d962f9c6e17a14800 (diff)
downloadopenttd-ed04bef953da730829770e98fc3a91649eeee23e.tar.xz
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index b48781ea0..8e5214ebc 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -87,6 +87,8 @@ public:
/** Free whatever we've allocated */
~NetworkContentDownloadStatusWindow()
{
+ TarScanner::DoScan();
+
/* Tell all the backends about what we've downloaded */
for (ContentType *iter = this->receivedTypes.Begin(); iter != this->receivedTypes.End(); iter++) {
switch (*iter) {