mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc
This callback should always arrive with update, so we don't need read overhead
This commit is contained in:
@@ -1580,8 +1580,7 @@ namespace ArchiSteamFarm {
|
||||
return;
|
||||
}
|
||||
|
||||
HashSet<uint> ownedPackageIDs = new HashSet<uint>(callback.LicenseList.Select(license => license.PackageID));
|
||||
OwnedPackageIDs.ReplaceIfNeededWith(ownedPackageIDs);
|
||||
OwnedPackageIDs.ReplaceWith(callback.LicenseList.Select(license => license.PackageID));
|
||||
|
||||
await Task.Delay(1000).ConfigureAwait(false); // Wait a second for eventual PlayingSessionStateCallback or SharedLibraryLockStatusCallback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user