- 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:
Regalis
2016-12-12 14:49:16 +02:00
parent 5241546069
commit f9ea876edf
3 changed files with 47 additions and 24 deletions

View File

@@ -346,6 +346,11 @@ namespace Barotrauma
mapEntityList.Remove(this);
if (selectedList.Contains(this))
{
selectedList.Remove(this);
}
if (aiTarget != null) aiTarget.Remove();
if (linkedTo != null)