Calculate proper dupe values for the same cards

This commit is contained in:
JustArchi
2016-06-24 01:27:11 +02:00
parent 70bdd34d66
commit b40dc2e572

View File

@@ -209,6 +209,7 @@ namespace ArchiSteamFarm {
}
amountsToGive.Add(amount);
amountMap[key] = amount - 1; // We're giving one, so we have one less
}
// Sort it ascending
@@ -224,6 +225,7 @@ namespace ArchiSteamFarm {
}
amountsToReceive.Add(amount);
amountMap[key] = amount + 1; // We're getting one, so we have one more
}
// Sort it ascending