Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/origin/v1.4-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
RevZero committed Jul 6, 2020
2 parents 7351968 + fd19e30 commit c6ae259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcom2-launcher/xcom2-launcher/Classes/Mod/ModInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public ModInfo(string filepath)
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(nameof(ModInfo));
public const string DEFAULT_CATEGORY_NAME = "Unsorted";

public int PublishedFileID { get; set; } = -1;
public long PublishedFileID { get; set; } = -1;
public string Title { get; set; }
public string Category { get; set; } = DEFAULT_CATEGORY_NAME;
public string Description { get; set; } = "";
Expand Down Expand Up @@ -100,7 +100,7 @@ protected void LoadFile(string filepath)

if (keyValPairs.ContainsKey("publishedfileid") && !string.IsNullOrEmpty(keyValPairs["publishedfileid"]))
{
if (int.TryParse(keyValPairs["publishedfileid"], out var publishId))
if (long.TryParse(keyValPairs["publishedfileid"], out var publishId))
{
PublishedFileID = publishId;
}
Expand Down

0 comments on commit c6ae259

Please sign in to comment.