From 0cc1c656283d18a22d6427ea19e95c79ca801f4b Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 29 Jul 2016 09:17:29 +0100 Subject: [PATCH] Mark mission as complete when failing an unwinnable one. --- src/battle/battle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/battle.c b/src/battle/battle.c index fb14bf5..756b344 100644 --- a/src/battle/battle.c +++ b/src/battle/battle.c @@ -201,6 +201,8 @@ static void doBattle(void) if (battle.unwinnable && battle.missionFinishedTimer <= -FPS * 6) { + battle.status = MS_COMPLETE; + postBattle(); destroyBattle();