]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix chat size cvar serialization (#23005)
authorKot <1192090+koteq@users.noreply.github.com>
Sat, 30 Dec 2023 17:24:10 +0000 (21:24 +0400)
committerGitHub <noreply@github.com>
Sat, 30 Dec 2023 17:24:10 +0000 (12:24 -0500)
Content.Client/UserInterface/Systems/Chat/ChatUIController.cs

index ba77dc273adb4657d85d50c43dd046f09ae6b4e7..1aa414d50548594addd3988386d1497460232b2d 100644 (file)
@@ -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 _: