X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fevents.c;h=811d8f9ae87e01fdfc9b03eddfa96f93823a7160;hb=66a60ab1d501cd3a7a666b3012702455927b3b13;hp=2dc5a01623be8323f34e618098d016283adf66d0;hpb=5c94351c5b8a12d8615b447b6275dd2f68615be4;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index 2dc5a016..811d8f9a 100644 --- a/src/events.c +++ b/src/events.c @@ -811,7 +811,8 @@ void HandleKey(Key key, int key_status) break; case KSYM_Escape: - FadeSkipNextFadeIn(); + if (game_status != GAME_MODE_MAIN) + FadeSkipNextFadeIn(); if (game_status == GAME_MODE_TITLE) HandleTitleScreen(0, 0, 0, 0, MB_MENU_LEAVE);