mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 23:28:11 +03:00
Fixed sometimes false returned from SubscribeDownloadAsync
This commit is contained in:
parent
32fbf63644
commit
e9d130572a
@ -278,11 +278,11 @@ namespace Steamworks.Ugc
|
||||
while ( true )
|
||||
{
|
||||
if ( ct.IsCancellationRequested )
|
||||
return false;
|
||||
break;
|
||||
|
||||
progress?.Invoke( DownloadAmount );
|
||||
|
||||
if ( !IsDownloading )
|
||||
if ( !IsDownloading && State.HasFlag( ItemState.Installed ) )
|
||||
break;
|
||||
|
||||
await Task.Delay( milisecondsUpdateDelay );
|
||||
|
Loading…
x
Reference in New Issue
Block a user