From aa4086a2cd9480f1f0f155a91322b4959199aec3 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Sun, 26 Jul 2026 09:46:39 -0700 Subject: [PATCH] Adds comment --- Projects/UOContent/Engines/Insurance/Insurance.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Projects/UOContent/Engines/Insurance/Insurance.cs b/Projects/UOContent/Engines/Insurance/Insurance.cs index 95457944e..8ba3985e5 100644 --- a/Projects/UOContent/Engines/Insurance/Insurance.cs +++ b/Projects/UOContent/Engines/Insurance/Insurance.cs @@ -11,16 +11,12 @@ namespace Server.Engines.Insurance; public static class Insurance { public static bool Enabled => ServerFeatureFlags.InsuranceEnabled; - private static Dictionary _insuranceContexts; + private static readonly Dictionary _insuranceContexts = []; public static void Configure() { + // Legacy, but not expected to be used anymore in favor of the feature flag system ServerFeatureFlags.InsuranceEnabled = ServerConfiguration.GetSetting("insurance.enable", Core.AOS); - - if (Enabled) - { - _insuranceContexts = []; - } } public static int GetInsuranceCost(Mobile from, Item item) => 600;