Corrected a bug where optional missions are not counted correctly, once completed.
This commit is contained in:
parent
71a07430f8
commit
f93b8beef4
|
@ -476,7 +476,7 @@ int isMissionAvailable(Mission *mission, Mission *prev)
|
|||
}
|
||||
else
|
||||
{
|
||||
return (
|
||||
return mission->completed || (
|
||||
game.completedMissions >= mission->requires &&
|
||||
game.stats[STAT_OPTIONAL_COMPLETED] >= mission->requiresOptional &&
|
||||
game.completedMissions < mission->expires
|
||||
|
|
Loading…
Reference in New Issue