Skip to content

Commit 8a19e42

Browse files
committed
The factions array uses "Government", the controlling faction uses "SystemGovernment".
1 parent 6429c1c commit 8a19e42

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Events/EventParsing.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ public static List<Faction> Factions ( object factionsVal, string systemName, ul
214214
FactionState.FromEDName( JsonParsing.getString( factionDetail, "FactionState" ) ) ??
215215
FactionState.None;
216216
var fGov =
217+
Government.FromEDName( JsonParsing.getString( factionDetail, "Government" ) ) ??
217218
Government.FromEDName( JsonParsing.getString( factionDetail, "SystemGovernment" ) ) ??
218219
Government.None;
219220
var influence =

0 commit comments

Comments
 (0)