When player manually quits, don't show mission complete screen.

This commit is contained in:
Steve 2018-03-08 07:53:26 +00:00
parent 74383264c2
commit fdfd875d8a
2 changed files with 3 additions and 2 deletions

View File

@ -241,7 +241,8 @@ enum
WS_OBSERVING,
WS_COMPLETE,
WS_MISSION_COMPLETE,
WS_GAME_OVER
WS_GAME_OVER,
WS_QUIT
};
enum

View File

@ -41,7 +41,7 @@ void initPostMission(void)
updateMissionStatus();
if (status == MS_COMPLETE || (!world.isReturnVisit && status != MS_INCOMPLETE))
if (world.state != WS_QUIT)
{
app.restrictTrophyAlert = 0;