1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r21248) -Codechange: don't run the tar scanner twice upon startup

This commit is contained in:
rubidium
2010-11-18 22:27:15 +00:00
parent f7b2a87292
commit ed04bef953
5 changed files with 8 additions and 1 deletions

View File

@@ -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) {