Skip to content

Commit

Permalink
null-exception-fix. hash-fix. ver.
Browse files Browse the repository at this point in the history
  • Loading branch information
cadaei committed Oct 6, 2019
1 parent 2bbcf6c commit 95e8f94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ARKBreedingStats/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("0.34.1.0")]
[assembly: AssemblyFileVersion("0.34.2.0")]
[assembly: NeutralResourcesLanguage("en")]

8 changes: 4 additions & 4 deletions ARKBreedingStats/testCases/ExtractionTestControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ public void AddTestCase(ExtractionTestCase etc)
private void newTestfileToolStripMenuItem_Click(object sender, EventArgs e)
{
ClearAll(true);
Properties.Settings.Default.LastSaveFileTestCases = "";
Properties.Settings.Default.LastSaveFileTestCases = string.Empty;
ShowTestCases();
UpdateFileLabel();
}

private void loadTestfileToolStripMenuItem_Click(object sender, EventArgs e)
{
string initialPath = Path.GetDirectoryName(Properties.Settings.Default.LastSaveFileTestCases);
if (string.IsNullOrWhiteSpace(initialPath))
initialPath = Application.StartupPath;
string initialPath = Application.StartupPath;
if (!string.IsNullOrEmpty(Properties.Settings.Default.LastSaveFileTestCases))
initialPath = Path.GetDirectoryName(Properties.Settings.Default.LastSaveFileTestCases);
using (OpenFileDialog dlg = new OpenFileDialog())
{
dlg.Filter = "ASB Extraction Testcases (*.json)|*.json";
Expand Down
2 changes: 1 addition & 1 deletion ARKBreedingStats/values/Values.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public bool LoadValues()

_V.LoadAliases();
_V.UpdateSpeciesBlueprintDictionaries();
loadedModsHash = CreatureCollection.CalculateModListHash(new List<Mod>());
_V.loadedModsHash = CreatureCollection.CalculateModListHash(new List<Mod>());

if (_V.modsManifest == null)
{
Expand Down

0 comments on commit 95e8f94

Please sign in to comment.