Skip to content

Commit

Permalink
changed InitializeMenu() in menu proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
TAImatem committed Jan 18, 2020
1 parent bbe1877 commit 3c9ab90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MenuTries/MenuTries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ private void OpenMenu()
}
private void InitializeMenu()
{
//InitializeMenu(GetModsList());
ModFinder finder = new ModFinder(new OwmlConfig(),ModHelper.Console); //replace with getting an actual ModFinder
var array = (finder.GetMods() as List<ModData>).ToArray(); //I hope IList<IModData> actually can be cast to List<ModData>
InitializeMenu(array);
}

public void InitializeMenu(ModData[] mods)
Expand Down

0 comments on commit 3c9ab90

Please sign in to comment.