From 4813a719ba2e17e09d6c9c9ba07275560b4c4715 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Mon, 29 Aug 2022 22:00:06 -0700 Subject: [PATCH] Fix reading rules multiple times (#10925) --- Content.Client/Info/RulesManager.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Content.Client/Info/RulesManager.cs b/Content.Client/Info/RulesManager.cs index 1a098dd19c..1ee5de77b4 100644 --- a/Content.Client/Info/RulesManager.cs +++ b/Content.Client/Info/RulesManager.cs @@ -83,10 +83,7 @@ public sealed class RulesManager : SharedRulesManager public Control RulesSection() { - if (rulesSection.Disposed) - { - rulesSection = new InfoSection("", "", false); - } + rulesSection = new InfoSection("", "", false); UpdateRules(); return rulesSection; }