(250dbe18e) Don't prevent item UI panels from overlapping with the chatbox or crew list areas when in the sub editor
This commit is contained in:
@@ -612,7 +612,7 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
List<Rectangle> disallowedAreas = new List<Rectangle>();
|
||||
if (GameMain.GameSession?.CrewManager != null)
|
||||
if (GameMain.GameSession?.CrewManager != null && Screen.Selected == GameMain.GameScreen)
|
||||
{
|
||||
disallowedAreas.Add(GameMain.GameSession.CrewManager.GetCharacterListArea());
|
||||
disallowedAreas.Add(new Rectangle(
|
||||
|
||||
Reference in New Issue
Block a user