From 988d43abdf0689fbb4aab04446c4724c2806e171 Mon Sep 17 00:00:00 2001 From: Terry MacDonald Date: Mon, 4 Oct 2021 22:41:07 +1300 Subject: [PATCH] Left some troubleshooting live --- DisplayMagician/GameLibraries/OriginLibrary.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/DisplayMagician/GameLibraries/OriginLibrary.cs b/DisplayMagician/GameLibraries/OriginLibrary.cs index bf79064..e7bfa7a 100644 --- a/DisplayMagician/GameLibraries/OriginLibrary.cs +++ b/DisplayMagician/GameLibraries/OriginLibrary.cs @@ -509,7 +509,6 @@ namespace DisplayMagician.GameLibraries XDocument xdoc = XDocument.Load(gameInstallerData); float manifestVersion; // Try to figure out which version of the client created this game (as they changed their format a lot) - var thing = xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value; if (xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value != null) { if (Single.TryParse(xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value, out manifestVersion))