mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
(svn r23285) -Fix: scanning of content after download didn't work
This commit is contained in:
parent
56a2c4b177
commit
0759649478
@ -205,8 +205,7 @@ public:
|
||||
virtual void OnDownloadProgress(const ContentInfo *ci, int bytes)
|
||||
{
|
||||
BaseNetworkContentDownloadStatusWindow::OnDownloadProgress(ci, bytes);
|
||||
|
||||
if (ci->id != this->cur_id) this->receivedTypes.Include(ci->type);
|
||||
this->receivedTypes.Include(ci->type);
|
||||
|
||||
/* When downloading is finished change cancel in ok */
|
||||
if (this->downloaded_bytes == this->total_bytes) {
|
||||
|
Loading…
Reference in New Issue
Block a user