mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Fix cycling menus in editor not updating
While there's a check to recreate the menu if you cycle the language while in a menu, editor menus are a special case and need specific handling.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Alloc.h"
|
||||
#include "ButtonGlyphs.h"
|
||||
#include "Constants.h"
|
||||
#include "Editor.h"
|
||||
#include "Exit.h"
|
||||
#include "Game.h"
|
||||
#include "GlitchrunnerMode.h"
|
||||
@@ -188,7 +189,8 @@ bool cycle_language(bool should_recompute_textboxes)
|
||||
should_recompute_textboxes = true;
|
||||
}
|
||||
|
||||
if (game.gamestate == TITLEMODE)
|
||||
if (game.gamestate == TITLEMODE
|
||||
|| (game.gamestate == EDITORMODE && ed.state == EditorState_MENU))
|
||||
{
|
||||
if (game.currentmenuname == Menu::translator_options_limitscheck)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user