Also run ALL_OBJECTIVES_COMPLETE in doObjectives().

This commit is contained in:
Steve 2016-05-19 09:31:09 +01:00
parent 5f6a4d1b16
commit 5a250e73d2
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ void doObjectives(void)
{
if (!battle.manualComplete && !hasHidden && battle.numObjectivesTotal > 0 && battle.numObjectivesComplete == battle.numObjectivesTotal)
{
runScriptFunction("ALL_OBJECTIVES_COMPLETE");
completeMission();
}