- Cleaned up elements in ChooseLevelMenu and ensured onscreen button had correct command

- Ensured there's always a level selected by default on the chooseLevelMenu
- Added a small delay to try and ensure the level/server config tab key hints align properly
- Added logic so you can't swap to server config page on chooseLevelMenu if in single player mode
- Added server description to server details line on JoinServerMenu
- Ensured programmatically added elements aren't saved out if GUIs are edited
- Fixed back-out prompt in OptionsMenu properly backs out so it doesn't break menu nav
This commit is contained in:
Areloch 2024-01-04 20:30:11 -06:00
parent f4491f8202
commit 833d17ccfc
5 changed files with 21 additions and 18 deletions

View file

@ -33,6 +33,7 @@ function GameMenu::onWake(%this)
text = %buttonText;
class = "GameMenuButton";
command = "GameMenu.openGameMenu(\"" @ %buttonText @ "\");";
canSave = false;
};
%stackWidth += %textWidth + 40;