mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-01 08:23:42 -04:00
Avoid default null as collection key.
This commit is contained in:
@ -175,7 +175,7 @@ namespace Observatory.Botanist
|
|||||||
private object GetColonyDistance(ScanOrganic scan)
|
private object GetColonyDistance(ScanOrganic scan)
|
||||||
{
|
{
|
||||||
// Try find a genus name.
|
// Try find a genus name.
|
||||||
string genusName = null;
|
string genusName = String.Empty;
|
||||||
if (scan.Genus_Localised != null)
|
if (scan.Genus_Localised != null)
|
||||||
{
|
{
|
||||||
genusName = scan.Genus_Localised;
|
genusName = scan.Genus_Localised;
|
||||||
|
Reference in New Issue
Block a user