Skip to content

Commit

Permalink
fix when unknown species is selected in library. Fix for spino-colorr…
Browse files Browse the repository at this point in the history
…egions.
  • Loading branch information
cadaei committed Sep 12, 2016
1 parent 7ca3fe6 commit 972b261
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ARKBreedingStats/CreatureBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ public void setCreature(Creature creature)
colorRegions = Values.V.species[si].colors;
else
{
colorRegions = new List<ColorRegion>(6);
colorRegions = new List<ColorRegion>();
for (int i = 0; i < 6; i++)
{
colorRegions.Add(new ColorRegion());
colorRegions[i].name = "n/a";
}
}
colorRegionUseds = colorRegions.Select(c => c.name != null).ToArray();
updateLabel();
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.6.0")]
[assembly: AssemblyFileVersion("0.20.7.0")]
2 changes: 1 addition & 1 deletion ARKBreedingStats/values.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ARKBreedingStats/ver.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2460000,0.20.6.0
2460001,0.20.6.0

0 comments on commit 972b261

Please sign in to comment.