feat: Loads BaseHouse.DecayEnabled from modernuo.json (default to true) (#1888)
This commit is contained in:
parent
fd067febd7
commit
4a83b651f4
1 changed files with 3 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ namespace Server.Multis
|
|||
{
|
||||
public abstract class BaseHouse : BaseMulti
|
||||
{
|
||||
public const int MaxCoOwners = 15;
|
||||
public static bool DecayEnabled { get; set; }
|
||||
|
||||
public const bool DecayEnabled = true;
|
||||
public const int MaxCoOwners = 15;
|
||||
|
||||
public const int MaximumBarkeepCount = 2;
|
||||
|
||||
|
|
@ -1265,6 +1265,7 @@ namespace Server.Multis
|
|||
|
||||
public static void Configure()
|
||||
{
|
||||
DecayEnabled = ServerConfiguration.GetOrUpdateSetting("houseDecay.enable", true);
|
||||
LockedDownFlag = 1;
|
||||
SecureFlag = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue