Settings menu with sound and music volume sliders, re-enabled deselecting connectionpanels with E in editmapscreen

This commit is contained in:
Regalis
2015-10-26 19:35:57 +02:00
parent ebe248a7cc
commit 9ed2963cd9
19 changed files with 223 additions and 72 deletions
@@ -37,7 +37,8 @@ namespace Barotrauma.Items.Components
{
if (character != Character.Controlled || character != user) return;
if (character.GetInputState(InputType.Select) &&
if (Screen.Selected != GameMain.EditMapScreen &&
character.GetInputState(InputType.Select) &&
character.SelectedConstruction==this.item) character.SelectedConstruction = null;
Connection.DrawConnections(spriteBatch, this, character);