From 195b6999d3cc9d2b3fb96eccbe45ec86f9884ab4 Mon Sep 17 00:00:00 2001 From: Xferno2 Date: Mon, 6 Dec 2021 04:53:00 +0200 Subject: [PATCH] Fixed 3rd party icon not showing --- Hoi4 Launcher/Parser/dlcParser.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Hoi4 Launcher/Parser/dlcParser.cs b/Hoi4 Launcher/Parser/dlcParser.cs index fac77d6..1ff172e 100644 --- a/Hoi4 Launcher/Parser/dlcParser.cs +++ b/Hoi4 Launcher/Parser/dlcParser.cs @@ -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; }