Skip to content

Commit

Permalink
Bugfix: Handle non-workshop mod paths correctly
Browse files Browse the repository at this point in the history
Improper identification of non-workshop mod directories would sometimes
lead non-workshop mods to be detected an extra time every launch and
show up as not loaded.
  • Loading branch information
BTernaryTau committed Jun 9, 2017
1 parent e1167da commit c386b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcom2-launcher/xcom2-launcher/Classes/Mod/ModEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public string Path
}
foreach (var modPath in XCOM2Launcher.Settings.Instance.ModPaths)
{
if (modPath.Contains("XcomGame"))
if (modPath.ToLower().Contains("xcomgame"))
path = modPath;
}
return FilePath.Combine(path, ID);
Expand Down

0 comments on commit c386b89

Please sign in to comment.