Skip to content

Commit

Permalink
fix for crash in breedingPlanner
Browse files Browse the repository at this point in the history
  • Loading branch information
cadaei committed Jan 19, 2017
1 parent 7f6bc85 commit 6460a37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ARKBreedingStats/BreedingPlan.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void drawBestParents(BreedingMode breedingMode, bool updateBreedingData =
Sex chosenCS = (considerChosenCreature ? chosenCreature.gender : Sex.Unknown);

labelTitle.Text = currentSpecies + (considerChosenCreature ? " (only pairings with \"" + chosenCreature.name + "\")" : "");
if (considerChosenCreature && chosenCreature.neutered || chosenCreature.status != CreatureStatus.Available)
if (considerChosenCreature && (chosenCreature.neutered || chosenCreature.status != CreatureStatus.Available))
labelTitle.Text += "! Breeding not possible ! (" + (chosenCreature.neutered ? "neutered" : "not available") + ")";
if (females != null && males != null && females.Count > 0 && males.Count > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion ARKBreedingStats/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("0.20.9.3")]
[assembly: AssemblyFileVersion("0.20.9.4")]
2 changes: 1 addition & 1 deletion ARKBreedingStats/ver.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2530000,0.20.9.3
2530000,0.20.9.4

0 comments on commit 6460a37

Please sign in to comment.