fix cartographics value, use Total instead of TotalEarnings

This commit is contained in:
2024-09-17 18:49:18 +02:00
parent 916afb2348
commit 9f013bed38
3 changed files with 29 additions and 5 deletions

View File

@@ -35,10 +35,10 @@ public class Cartographics : Transaction {
/* add multi sell and normal ones together */
long total =
Entries.OfType<MultiSellExplorationDataEntry>()
.Sum(x => x.TotalEarnings)
.Sum(x => x.Total)
+
Entries.OfType<SellExplorationDataEntry>()
.Sum(x => x.TotalEarnings)
.Sum(x => x.Total)
;
return total;
}