Mark mission as complete when failing an unwinnable one.

This commit is contained in:
Steve 2016-07-29 09:17:29 +01:00
parent 9563d4acaa
commit 0cc1c65628
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ static void doBattle(void)
if (battle.unwinnable && battle.missionFinishedTimer <= -FPS * 6) if (battle.unwinnable && battle.missionFinishedTimer <= -FPS * 6)
{ {
battle.status = MS_COMPLETE;
postBattle(); postBattle();
destroyBattle(); destroyBattle();