diff --git a/src/defs.h b/src/defs.h index d9b0646..da2fa2d 100644 --- a/src/defs.h +++ b/src/defs.h @@ -241,7 +241,8 @@ enum WS_OBSERVING, WS_COMPLETE, WS_MISSION_COMPLETE, - WS_GAME_OVER + WS_GAME_OVER, + WS_QUIT }; enum diff --git a/src/hub/postMission.c b/src/hub/postMission.c index 99c1652..64fa249 100644 --- a/src/hub/postMission.c +++ b/src/hub/postMission.c @@ -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;