Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed Apr 22, 2023
2 parents d09673b + aaafdfc commit 4a1b7b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions ARKBreedingStats/AboutBox1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
* Myrmecoleon (extra species images)
* Lunat1q (improved OCR)
* ThatGamerBlue (species dividers in virtual listview)
* Jaymei (ATLAS species data)
Translations:
* French by Vykan and Yanuut
Expand Down
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.52.0.0")]
[assembly: AssemblyFileVersion("0.52.1.0")]
[assembly: NeutralResourcesLanguage("en")]

2 changes: 1 addition & 1 deletion ARKBreedingStats/_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ARK Smart Breeding": {
"Id": "ARK Smart Breeding",
"Category": "main",
"version": "0.52.0.0"
"version": "0.52.1.0"
},
"SpeciesColorImages": {
"Id": "SpeciesColorImages",
Expand Down
4 changes: 2 additions & 2 deletions ARKBreedingStats/species/CreatureColored.cs
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,9 @@ public static string RegionColorInfo(Species species, byte[] colorIds)
var cs = species.colors;
for (int r = 0; r < Ark.ColorRegionCount; r++)
{
if (!string.IsNullOrEmpty(cs[r]?.name))
if (species.EnabledColorRegions[r])
{
creatureRegionColors.Append($"\n{cs[r].name} ({r}): {CreatureColors.CreatureColorName(colorIds[r])} ({colorIds[r]})");
creatureRegionColors.Append($"\n{cs[r]?.name} ({r}): {CreatureColors.CreatureColorName(colorIds[r])} ({colorIds[r]})");
}
}
return creatureRegionColors.ToString();
Expand Down
2 changes: 1 addition & 1 deletion ARKBreedingStats/uiControls/LibraryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void AddParagraph(string text, string suffixForPlainText = null, bool bold = fal
for (int i = 0; i < Ark.ColorRegionCount; i++)
{
if (!species.EnabledColorRegions[i]) continue;
AddParagraph($"Color region {i}: {species.colors[i].name}", bold: true, relativeFontSize: 1.1f);
AddParagraph($"Color region {i}: {species.colors[i]?.name}", bold: true, relativeFontSize: 1.1f);
var colorsExist = colorsExistPerRegion[i].Count;
AddParagraph($"{colorsExist} color id{(colorsExist != 1 ? "s" : string.Empty)} available in your library:");
AddParagraph(CreateNumberRanges(colorsExistPerRegion[i]));
Expand Down

0 comments on commit 4a1b7b8

Please sign in to comment.