diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
index 8e6d17d51..1a7eaf05b 100644
--- a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
+++ b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
@@ -271,6 +271,7 @@ namespace Barotrauma
DebugConsole.ThrowError("Tried to add the same character info to CrewManager twice.\n" + Environment.StackTrace);
return;
}
+ }
characterInfos.Add(characterInfo);
}
@@ -598,20 +599,7 @@ namespace Barotrauma
characterListBox.BarScroll = roundedPos;
}
- #region Dialog
- ///
- /// Adds the message to the single player chatbox.
- ///
- public void AddSinglePlayerChatMessage(string senderName, string text, ChatMessageType messageType, Character sender)
- {
- if (!isSinglePlayer)
- {
- DebugConsole.ThrowError("Cannot add messages to single player chat box in multiplayer mode!\n" + Environment.StackTrace);
- return;
- }
- if (string.IsNullOrEmpty(text)) { return; }
-
- chatBox.AddMessage(ChatMessage.Create(senderName, text, messageType, sender));
+ return radioItem.GetComponent();
}
private IEnumerable