[ScreenInstallOverlay] Added bare DownloadFinished message.

This commit is contained in:
AJ Kelly
2010-12-29 17:02:30 -06:00
parent 13ca90ff3f
commit a88f42beba
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -248,11 +248,14 @@ public:
}
break;
}
bool bFinsihed = m_DownloadState == packages &&
bool bFinished = m_DownloadState == packages &&
m_vsQueuedPackageUrls.empty() &&
m_pTransfer == NULL;
if( bFinsihed )
if( bFinished )
{
Message msg( "DownloadFinished" );
MESSAGEMAN->Broadcast(msg);
playAfterLaunchInfo = m_playAfterLaunchInfo;
return true;
}