From 33193cd09d9bc1eb89ec4884231623fc636dba95 Mon Sep 17 00:00:00 2001
From: Callmore <22885888+Callmore@users.noreply.github.com>
Date: Tue, 22 Oct 2024 00:15:44 +0100
Subject: [PATCH] add default game screen support
---
Content.Client/UserInterface/Screens/DefaultGameScreen.xaml | 2 ++
Content.Client/UserInterface/Screens/DefaultGameScreen.xaml.cs | 2 ++
2 files changed, 4 insertions(+)
diff --git a/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml b/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml
index 54aeffe72c..6199270e05 100644
--- a/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml
+++ b/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml
@@ -9,6 +9,7 @@
xmlns:hotbar="clr-namespace:Content.Client.UserInterface.Systems.Hotbar.Widgets"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:inventory="clr-namespace:Content.Client.UserInterface.Systems.Inventory.Widgets"
+ xmlns:sss="clr-namespace:Content.Client._SSS.UserInterface.Widgets"
Name="DefaultHud"
VerticalExpand="False"
VerticalAlignment="Bottom"
@@ -30,4 +31,5 @@
+
diff --git a/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml.cs b/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml.cs
index 12f8422aeb..c51811e9b7 100644
--- a/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml.cs
+++ b/Content.Client/UserInterface/Screens/DefaultGameScreen.xaml.cs
@@ -23,6 +23,8 @@ public DefaultGameScreen()
SetAnchorAndMarginPreset(Chat, LayoutPreset.TopRight, margin: 10);
SetAnchorAndMarginPreset(Alerts, LayoutPreset.TopRight, margin: 10);
+ SetAnchorAndMarginPreset(SSSStatus, LayoutPreset.BottomRight, margin: 10);
+
Chat.OnResized += ChatOnResized;
Chat.OnChatResizeFinish += ChatOnResizeFinish;