From: Kot <1192090+koteq@users.noreply.github.com> Date: Sat, 30 Dec 2023 17:24:10 +0000 (+0400) Subject: Fix chat size cvar serialization (#23005) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3d955677c53c929d95f4ef4a39a9b4415a11afd7;p=space-station-14.git Fix chat size cvar serialization (#23005) --- diff --git a/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs b/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs index ba77dc273a..1aa414d505 100644 --- a/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs +++ b/Content.Client/UserInterface/Systems/Chat/ChatUIController.cs @@ -293,7 +293,8 @@ public sealed class ChatUIController : UIController throw new Exception("Cannot get active screen!"); } - var stringSize = $"{size.X},{size.Y}"; + var stringSize = + $"{size.X.ToString(CultureInfo.InvariantCulture)},{size.Y.ToString(CultureInfo.InvariantCulture)}"; switch (UIManager.ActiveScreen) { case DefaultGameScreen _: