changed code to type name to support different last screens
authorHolger Schemel <info@artsoft.org>
Sun, 18 Oct 2020 12:49:06 +0000 (14:49 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:57 +0000 (00:57 +0100)
src/screens.c

index cd59331de9317a368a28ba3e51d4e91b253195f8..e7e901d63bc727bb61d6369a72f9b546ab4bb049 100644 (file)
@@ -4074,7 +4074,7 @@ static void HandleTypeNameExt(boolean initialize, Key key)
   }
   else
   {
-    SetGameStatus(GAME_MODE_MAIN);
+    SetGameStatus(game_status_last_screen);
 
     pos->width = strlen(name) * font_width;
     sx = mSX + ALIGNED_TEXT_XPOS(pos);