diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
index 2cce3c5f4..cff89884e 100644
--- a/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
+++ b/Barotrauma/BarotraumaClient/Source/GameSession/CrewManager.cs
@@ -74,6 +74,10 @@ namespace Barotrauma
break;
}
}
+
+ screenResolution = new Point(GameMain.GraphicsWidth, GameMain.GraphicsHeight);
+
+ prevUIScale = GUI.Scale;
}
partial void InitProjectSpecific()
@@ -593,20 +597,7 @@ namespace Barotrauma
characterListBox.BarScroll -= characterListBox.BarScroll % step;
characterListBox.BarScroll += dir * step;
- #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