Correctly unlock all levels when game is complete.
This commit is contained in:
parent
8a61323362
commit
a01052b1e8
|
@ -154,7 +154,7 @@ void initHub(void)
|
||||||
|
|
||||||
for (mission = hubMissionHead.next ; mission != NULL ; mission = mission->next)
|
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);
|
unlockMission(mission->id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue