added correction when typing name on main menu screen
authorHolger Schemel <info@artsoft.org>
Tue, 20 Oct 2020 18:11:31 +0000 (20:11 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:59 +0000 (00:57 +0100)
src/screens.c

index 7f4de2c74a8487ffb73c5dda0dc35b728f97e6fd..f9815ee33678683db95065ffcd5aeae30be29df8 100644 (file)
@@ -4192,6 +4192,9 @@ static void HandleTypeNameExt(boolean initialize, Key key)
     StopTextInput();
 
     SetGameStatus(game_status_last_screen);
+
+    if (game_status == GAME_MODE_MAIN)
+      InitializeMainControls();
   }
 }