From f9588c4b08cad086fa42e99d7e580b29203b2daa Mon Sep 17 00:00:00 2001 From: Steve Date: Wed, 10 Aug 2016 13:04:35 +0100 Subject: [PATCH] Don't set a completed mission as the active one. --- src/galaxy/starSystems.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/galaxy/starSystems.c b/src/galaxy/starSystems.c index cddc3d5..c29b6b9 100644 --- a/src/galaxy/starSystems.c +++ b/src/galaxy/starSystems.c @@ -180,7 +180,10 @@ void updateStarSystemMissions(void) { starSystem->availableMissions++; - starSystem->activeMission = mission; + if (!mission->completed) + { + starSystem->activeMission = mission; + } } prev = mission;