Prevent changing language if a textbox is displayed

I really thought I was going to need to block changing the language
in-game altogether, but activity zone prompts are now fixed and the
only obvious problem I can think of right now is having a dialogue
open, so I just disable the language option if a textbox is displayed.
(like how the map menu only has the save option if a script is running)
This commit is contained in:
Dav999
2023-08-31 04:36:46 +02:00
committed by Misa Elizabeth Kai
parent 700aa4aaa0
commit 4ae6c77110
19 changed files with 53 additions and 23 deletions

View File

@@ -6503,7 +6503,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
option(loc::gettext("audio"));
option(loc::gettext("game pad"));
option(loc::gettext("accessibility"));
option(loc::gettext("language"));
option(loc::gettext("language"), graphics.textboxes.empty());
option(loc::gettext("return"));
menuyoff = 0;
maxspacing = 15;