From 85866eaedae7a52a519e16e411e9817bcf8407b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20C=C3=A9sar=20Ueti?= <52474532+Mirino97@users.noreply.github.com> Date: Sun, 23 Oct 2022 12:27:37 -0300 Subject: [PATCH] Changes target window parent on rules ui (#12165) --- Content.Client/Info/RulesManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Info/RulesManager.cs b/Content.Client/Info/RulesManager.cs index eb247dfa93..76e7c34e5f 100644 --- a/Content.Client/Info/RulesManager.cs +++ b/Content.Client/Info/RulesManager.cs @@ -73,7 +73,7 @@ public sealed class RulesManager : SharedRulesManager _activePopup.OnQuitPressed += OnQuitPressed; _activePopup.OnAcceptPressed += OnAcceptPressed; - _userInterfaceManager.StateRoot.AddChild(_activePopup); + _userInterfaceManager.WindowRoot.AddChild(_activePopup); LayoutContainer.SetAnchorPreset(_activePopup, LayoutContainer.LayoutPreset.Wide); }