fixed bug with not unmapping gadgets from previous screen on score info
authorHolger Schemel <info@artsoft.org>
Wed, 23 Feb 2022 23:39:22 +0000 (00:39 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 23 Feb 2022 23:39:22 +0000 (00:39 +0100)
src/screens.c

index a76393cb76280a7c54eb03e82b709201a13dad4f..b5cef16637aba7a2cee5e1428b95cc5609d06fea 100644 (file)
@@ -5869,6 +5869,8 @@ static void DrawScoreInfo(int pos)
 
   SetMainBackgroundImageIfDefined(IMG_BACKGROUND_SCOREINFO);
 
+  UnmapAllGadgets();
+
   FadeOut(REDRAW_FIELD);
 
   ClearField();