Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -19,9 +19,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
}
|
||||
|
||||
private HarvestDefinition m_Definition;
|
||||
|
||||
public HarvestDefinition Definition => m_Definition;
|
||||
public HarvestDefinition Definition { get; }
|
||||
|
||||
private Lumberjacking()
|
||||
{
|
||||
|
|
@ -123,7 +121,7 @@ namespace Server.Engines.Harvest
|
|||
lumber.RaceBonus = Core.ML;
|
||||
lumber.RandomizeVeins = Core.ML;
|
||||
|
||||
m_Definition = lumber;
|
||||
Definition = lumber;
|
||||
Definitions.Add( lumber );
|
||||
#endregion
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue