mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Left some troubleshooting live
This commit is contained in:
parent
b6de9aa85f
commit
988d43abdf
@ -509,7 +509,6 @@ namespace DisplayMagician.GameLibraries
|
|||||||
XDocument xdoc = XDocument.Load(gameInstallerData);
|
XDocument xdoc = XDocument.Load(gameInstallerData);
|
||||||
float manifestVersion;
|
float manifestVersion;
|
||||||
// Try to figure out which version of the client created this game (as they changed their format a lot)
|
// 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 (xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value != null)
|
||||||
{
|
{
|
||||||
if (Single.TryParse(xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value, out manifestVersion))
|
if (Single.TryParse(xdoc.XPathSelectElement("/DiPManifest").Attribute("version").Value, out manifestVersion))
|
||||||
|
Loading…
Reference in New Issue
Block a user