mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Misc
This commit is contained in:
parent
e82100308c
commit
cf94c417d2
1 changed files with 2 additions and 2 deletions
|
@ -1013,7 +1013,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
|
|||
|
||||
Dictionary<(uint RealAppID, Asset.EType Type, Asset.ERarity Rarity), HashSet<ulong>> databaseSets = setPartsResponse.Content.Result.GroupBy(static setPart => (setPart.RealAppID, setPart.Type, setPart.Rarity)).ToDictionary(static group => group.Key, static group => group.Select(static setPart => setPart.ClassID).ToHashSet());
|
||||
|
||||
HashSet<(ulong ClassID, uint Amount)> setCopy = [];
|
||||
Dictionary<ulong, uint> setCopy = [];
|
||||
|
||||
foreach (((uint RealAppID, Asset.EType Type, Asset.ERarity Rarity) key, Dictionary<ulong, uint> set) in setsState) {
|
||||
uint minimumAmount = uint.MaxValue;
|
||||
|
@ -1057,7 +1057,7 @@ internal sealed class RemoteCommunication : IAsyncDisposable, IDisposable {
|
|||
setCopy.Clear();
|
||||
|
||||
foreach ((ulong classID, uint amount) in set) {
|
||||
setCopy.Add((classID, amount));
|
||||
setCopy[classID] = amount;
|
||||
}
|
||||
|
||||
foreach ((ulong classID, uint amount) in setCopy) {
|
||||
|
|
Loading…
Reference in a new issue