From a01052b1e8f053209ab972d7980c09ff4ebf248c Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 30 Mar 2018 11:22:33 +0100 Subject: [PATCH] Correctly unlock all levels when game is complete. --- src/hub/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hub/hub.c b/src/hub/hub.c index 6aaecd1..21ecade 100644 --- a/src/hub/hub.c +++ b/src/hub/hub.c @@ -154,7 +154,7 @@ void initHub(void) for (mission = hubMissionHead.next ; mission != NULL ; mission = mission->next) { - if (requiredMissionUnlocked(mission->requires) || dev.cheatLevels) + if (requiredMissionUnlocked(mission->requires) || dev.cheatLevels || game.isComplete) { unlockMission(mission->id); }