diff --git a/GpApp/Play.cpp b/GpApp/Play.cpp index 1715dc0..9e2923f 100644 --- a/GpApp/Play.cpp +++ b/GpApp/Play.cpp @@ -46,7 +46,7 @@ void HandleRoomVisitation (void); void SetObjectsToDefaults (void); void InitTelephone (void); void HandleTelephone (void); - +void DoEndGame (void); phoneType thePhone, theChimes; Rect glidSrcRect, justRoomsRect; @@ -717,7 +717,11 @@ void PlayGame (void) HandleDynamicScoreboard(); } } - + + if (quitting) { + DoEndGame(); + } + if (gameOver) { countDown--;