From 98271c2773ebc27b2f64d7833cb9354a3bee1d25 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 6 Jan 2025 20:46:48 +0100 Subject: [PATCH] added closing request door before covering BD screen (if still open) --- src/tools.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tools.c b/src/tools.c index 1053e807..deddc334 100644 --- a/src/tools.c +++ b/src/tools.c @@ -1004,6 +1004,16 @@ void CoverScreen(void) if (level.game_engine_type != GAME_ENGINE_TYPE_BD || !game_bd.cover_screen) return; + // before covering screen, close request door that might still be open + if (game.request_open) + { + // if request open after asking to save tape after game won, close all doors for hall of fame + if (setup.show_scores_after_game) + CloseDoor(DOOR_CLOSE_ALL); + else + CloseDoor(DOOR_CLOSE_1); + } + CoverScreen_BD(); } -- 2.34.1