fix voucher entry with multiple factions
This commit is contained in:
parent
08e342991c
commit
47d3fd778e
@ -28,6 +28,10 @@ namespace EDJournal {
|
||||
string single_faction = JSON.Value<string>("Faction");
|
||||
if (single_faction != null) {
|
||||
Factions.Add(single_faction);
|
||||
if (!FactionBounties.ContainsKey(single_faction)) {
|
||||
FactionBounties[single_faction] = 0;
|
||||
}
|
||||
FactionBounties[single_faction] += Amount;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user