Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKev312 committed Dec 21, 2019
1 parent 2b32669 commit 3eed1c8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CEMU Mod Importer/JSON_importer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ public void Import(string JSONfile)
}
if (added == false)
{
GameInfo gameInfo = new GameInfo();
gameInfo.Name = gameInfoJSON.name;
GameInfo gameInfo = new GameInfo
{
Name = gameInfoJSON.name
};
gameInfo.Ids.Add(gameInfoJSON.titleID + " [" + gameInfoJSON.region + "]");
gameInfos.Add(gameInfo);
}
Expand Down
2 changes: 1 addition & 1 deletion CEMU Mod Importer/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CEMU Mod Importer/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace CEMU_Mod_Importer
{
public partial class Main : Form
{
Mod CurrentMod = new Mod();
readonly Mod CurrentMod = new Mod();
string[] titleids;
int wrongids = 0;
bool CEMU_Set = false;
Expand Down
1 change: 0 additions & 1 deletion CEMU Mod Importer/Mod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Mod
{
public string Name;
public string[] TitleIds;
public string Path;
public string Description;
public int Version = 3;
public int fsPriority = 100;
Expand Down

0 comments on commit 3eed1c8

Please sign in to comment.