From 3d955677c53c929d95f4ef4a39a9b4415a11afd7 Mon Sep 17 00:00:00 2001 From: Kot <1192090+koteq@users.noreply.github.com> Date: Sat, 30 Dec 2023 21:24:10 +0400 Subject: [PATCH] Fix chat size cvar serialization (#23005) --- Content.Client/UserInterface/Systems/Chat/ChatUIController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 _: -- 2.51.2