Skip to content

Commit 4a1b7b8

Browse files
committed
Merge branch 'dev'
2 parents d09673b + aaafdfc commit 4a1b7b8

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

ARKBreedingStats/AboutBox1.cs

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ private void linkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
109109
* Myrmecoleon (extra species images)
110110
* Lunat1q (improved OCR)
111111
* ThatGamerBlue (species dividers in virtual listview)
112+
* Jaymei (ATLAS species data)
112113
113114
Translations:
114115
* French by Vykan and Yanuut

ARKBreedingStats/Properties/AssemblyInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
// Revision
3131
//
3232
[assembly: AssemblyVersion("1.0.0.0")]
33-
[assembly: AssemblyFileVersion("0.52.0.0")]
33+
[assembly: AssemblyFileVersion("0.52.1.0")]
3434
[assembly: NeutralResourcesLanguage("en")]
3535

ARKBreedingStats/_manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"ARK Smart Breeding": {
55
"Id": "ARK Smart Breeding",
66
"Category": "main",
7-
"version": "0.52.0.0"
7+
"version": "0.52.1.0"
88
},
99
"SpeciesColorImages": {
1010
"Id": "SpeciesColorImages",

ARKBreedingStats/species/CreatureColored.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ public static string RegionColorInfo(Species species, byte[] colorIds)
470470
var cs = species.colors;
471471
for (int r = 0; r < Ark.ColorRegionCount; r++)
472472
{
473-
if (!string.IsNullOrEmpty(cs[r]?.name))
473+
if (species.EnabledColorRegions[r])
474474
{
475-
creatureRegionColors.Append($"\n{cs[r].name} ({r}): {CreatureColors.CreatureColorName(colorIds[r])} ({colorIds[r]})");
475+
creatureRegionColors.Append($"\n{cs[r]?.name} ({r}): {CreatureColors.CreatureColorName(colorIds[r])} ({colorIds[r]})");
476476
}
477477
}
478478
return creatureRegionColors.ToString();

ARKBreedingStats/uiControls/LibraryInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void AddParagraph(string text, string suffixForPlainText = null, bool bold = fal
122122
for (int i = 0; i < Ark.ColorRegionCount; i++)
123123
{
124124
if (!species.EnabledColorRegions[i]) continue;
125-
AddParagraph($"Color region {i}: {species.colors[i].name}", bold: true, relativeFontSize: 1.1f);
125+
AddParagraph($"Color region {i}: {species.colors[i]?.name}", bold: true, relativeFontSize: 1.1f);
126126
var colorsExist = colorsExistPerRegion[i].Count;
127127
AddParagraph($"{colorsExist} color id{(colorsExist != 1 ? "s" : string.Empty)} available in your library:");
128128
AddParagraph(CreateNumberRanges(colorsExistPerRegion[i]));

0 commit comments

Comments
 (0)