Skip to content

Commit

Permalink
Merge pull request #12 from Xferno2/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Xferno2 committed Dec 6, 2021
2 parents ff8056e + 195b699 commit c96cb1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Hoi4 Launcher/Parser/dlcParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public dlcModel[] GetDLCs()
dlc.name = x.First().Split('"')[1].Replace('"', ' ');
dlc.path = x.ElementAt(1).Split('=')[1].Replace('"', ' ').Replace(" ", "").Split('.').First() + ".dlc";
var party = x.ElementAt(x.Count() - 2).Split('=')[1].Replace(" ", "");
if (party.Contains("music"))
party = x.ElementAt(x.Count() - 3).Split('=')[1].Replace(" ", "");
if (party == "yes")
{ dlc._3rdparty = true; is3rdParty = true; }
else { dlc._3rdparty = false; }
Expand Down

0 comments on commit c96cb1a

Please sign in to comment.