Skip to content

Commit

Permalink
Fixed crash if plando data is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bartz24games@gmail.com committed Apr 30, 2021
1 parent 1c8866c commit 8070dd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace FF13Randomizer
{
public partial class FormMain : Form
{
public static string Version { get; set; } = "1.9.0.Pre";
public static string Version { get; set; } = "1.9.0.Pre-2";

public static bool PlandoModified { get; set; } = false;

Expand Down
2 changes: 1 addition & 1 deletion Plandos/EquipPlando.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public Dictionary<Item, SynthesisGroup> GetSynthesisGroups()
foreach (DataRow row in dataTable.Rows)
{
Item item = Items.items.Find(i => i.ID == row.Field<string>(0));
string synthGroup = row.Field<string>(1);
string synthGroup = row.Field<string>(12);
if (synthGroup != "???")
{
dict.Add(item, Enum.GetValues(typeof(SynthesisGroup)).Cast<SynthesisGroup>().Where(s => s.SeparateWords() == synthGroup).First());
Expand Down
1 change: 1 addition & 0 deletions VersionOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class VersionOrder
"1.8.2",
"1.8.3",
"1.8.4",
"1.9.0.Pre",
FormMain.Version
};

Expand Down

0 comments on commit 8070dd4

Please sign in to comment.