Avoid default null as collection key.

This commit is contained in:
Xjph 2023-01-19 19:34:34 -03:30
commit f1790608e8

View file

@ -175,7 +175,7 @@ namespace Observatory.Botanist
private object GetColonyDistance(ScanOrganic scan)
{
// Try find a genus name.
string genusName = null;
string genusName = String.Empty;
if (scan.Genus_Localised != null)
{
genusName = scan.Genus_Localised;