Adds comment
This commit is contained in:
parent
b92a7fa4f4
commit
aa4086a2cd
1 changed files with 2 additions and 6 deletions
|
|
@ -11,16 +11,12 @@ namespace Server.Engines.Insurance;
|
|||
public static class Insurance
|
||||
{
|
||||
public static bool Enabled => ServerFeatureFlags.InsuranceEnabled;
|
||||
private static Dictionary<Mobile, InsuranceContext> _insuranceContexts;
|
||||
private static readonly Dictionary<Mobile, InsuranceContext> _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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue