2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-02 08:53:42 -04:00

Suppress body ordinal in results for system-wide checks

This commit is contained in:
Xjph
2021-11-22 11:18:33 -03:30
parent 27a6b8c39d
commit 45b3dbf115
3 changed files with 14 additions and 13 deletions

View File

@ -192,7 +192,7 @@ namespace Observatory.Explorer
{
var scanResult = new ExplorerUIResults()
{
BodyName = scanEvent.BodyName,
BodyName = result.SystemWide ? scanEvent.StarSystem : scanEvent.BodyName,
Time = scanEvent.TimestampDateTime.ToString("G"),
Description = result.Description,
Details = result.Detail
@ -233,6 +233,7 @@ namespace Observatory.Explorer
}
else
{
bodyLabel = "Primary Star";
spokenAffix = string.Empty;
}