Changes properties to use automatic property initializers

This commit is contained in:
Kamron Batman 2018-09-14 15:23:29 -07:00
parent f0a48ad431
commit 06fa31a7bf
623 changed files with 13072 additions and 19304 deletions

View file

@ -16,19 +16,13 @@ namespace Server.Misc
EventSink.Movement += EventSink_Movement;
}
private static DFAlgorithm m_DFA;
public static DFAlgorithm DFA
{
get => m_DFA;
set => m_DFA = value;
}
public static DFAlgorithm DFA { get; set; }
public static void FatigueOnDamage( Mobile m, int damage )
{
double fatigue = 0.0;
switch ( m_DFA )
switch ( DFA )
{
case DFAlgorithm.Standard:
{