Correcly unlock Teeka's mission.

This commit is contained in:
Steve 2018-03-17 16:58:25 +00:00
parent c240449530
commit 151376fc52
1 changed files with 12 additions and 3 deletions

View File

@ -165,7 +165,7 @@ void initHub(void)
{
teeka = mission;
}
else if (mission->status == MS_LOCKED)
else if (mission->status != MS_COMPLETE)
{
unlockTeeka = 0;
}
@ -195,10 +195,19 @@ void initHub(void)
}
}
if (!unlockTeeka && teeka != NULL)
if (teeka != NULL)
{
if (unlockTeeka)
{
unlockMission("teeka");
teeka->status = MS_INCOMPLETE;
}
else
{
teeka->status = MS_LOCKED;
}
}
awardMissionTrophies();