Show as green if >= target value. Can happen with dynamic objective targets.
This commit is contained in:
parent
58c398475c
commit
e9a6a42b4c
|
@ -228,7 +228,7 @@ void drawMissionStatus(void)
|
||||||
c = o->required ? colors.red : colors.white;
|
c = o->required ? colors.red : colors.white;
|
||||||
status = _("Incomplete");
|
status = _("Incomplete");
|
||||||
|
|
||||||
if (o->currentValue == o->targetValue)
|
if (o->currentValue >= o->targetValue)
|
||||||
{
|
{
|
||||||
c = colors.green;
|
c = colors.green;
|
||||||
status = _("Complete");
|
status = _("Complete");
|
||||||
|
|
Loading…
Reference in New Issue