- sub list in the main menu is refreshed when MainMenuScreen is selected (-> downloaded and newly created subs appear in the list)
- fixed "editing menu" not disappearing after an entity is removed in the editor - debugconsole textbox is automatically selected when opening the console - clearing the current gamesession if returning to main menu using the console
This commit is contained in:
@@ -95,6 +95,7 @@ namespace Barotrauma
|
||||
if (isOpen)
|
||||
{
|
||||
textBox.Select();
|
||||
AddToGUIUpdateList();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -427,6 +428,14 @@ namespace Barotrauma
|
||||
case "mainmenuscreen":
|
||||
case "mainmenu":
|
||||
case "menu":
|
||||
GameMain.GameSession = null;
|
||||
|
||||
List<Character> characters = new List<Character>(Character.CharacterList);
|
||||
foreach (Character c in characters)
|
||||
{
|
||||
c.Remove();
|
||||
}
|
||||
|
||||
GameMain.MainMenuScreen.Select();
|
||||
break;
|
||||
case "gamescreen":
|
||||
|
||||
Reference in New Issue
Block a user