Skip to content

Commit

Permalink
shift a switch
Browse files Browse the repository at this point in the history
  • Loading branch information
DEATHB4DEFEAT committed Jun 3, 2024
1 parent 56c1812 commit 6422c2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,12 @@ private void StoreChatSize(Vector2 size)
$"{size.X.ToString(CultureInfo.InvariantCulture)},{size.Y.ToString(CultureInfo.InvariantCulture)}";
switch (UIManager.ActiveScreen)
{
case OverlayChatGameScreen _:
_config.SetCVar(CCVars.OverlayScreenChatSize, stringSize);
break;
case SeparatedChatGameScreen _:
_config.SetCVar(CCVars.SeparatedScreenChatSize, stringSize);
break;
case OverlayChatGameScreen _:
_config.SetCVar(CCVars.OverlayScreenChatSize, stringSize);
break;
default:
// do nothing
return;
Expand Down

0 comments on commit 6422c2d

Please sign in to comment.