diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs index d625ef340..0762fbd00 100644 --- a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs +++ b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs @@ -130,7 +130,12 @@ namespace Barotrauma { OnEnterMessage = (textbox, text) => { - if (Character.Controlled == null) { return true; } + if (Character.Controlled?.Info == null) + { + textbox.Deselect(); + textbox.Text = ""; + return true; + } textbox.TextColor = ChatMessage.MessageColor[(int)ChatMessageType.Default];