From d00fb57555ab57f0470c4e7d5cb497d568c21dd5 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 18 Nov 2024 00:26:47 +0100 Subject: [PATCH] moved re-creating gadgets to main info screen function --- src/screens.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/screens.c b/src/screens.c index 7abfd77b..72457359 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4380,9 +4380,6 @@ static void DrawInfoScreen_GenericScreen(int screen_nr, int num_screens, int use int font_foot = MENU_INFO_FONT_FOOT; int yfooter = MENU_SCREEN_INFO_FOOTER; - FreeScreenGadgets(); - CreateScreenGadgets(); - ClearField(); DrawInfoScreen_Headline(screen_nr, num_screens, use_global_screens); @@ -4476,6 +4473,9 @@ static void DrawInfoScreen_Generic(void) FadeOut(REDRAW_FIELD); + FreeScreenGadgets(); + CreateScreenGadgets(); + HandleInfoScreen_Generic(0, 0, 0, 0, MB_MENU_INITIALIZE); PlayInfoSoundsAndMusic(); -- 2.34.1