Don't set a completed mission as the active one.
This commit is contained in:
parent
e28bb6ff31
commit
f9588c4b08
|
@ -180,8 +180,11 @@ void updateStarSystemMissions(void)
|
||||||
{
|
{
|
||||||
starSystem->availableMissions++;
|
starSystem->availableMissions++;
|
||||||
|
|
||||||
|
if (!mission->completed)
|
||||||
|
{
|
||||||
starSystem->activeMission = mission;
|
starSystem->activeMission = mission;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
prev = mission;
|
prev = mission;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue