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

@ -49,10 +49,9 @@ namespace Server.Engines.Quests.Naturalist
return null;
}
private bool m_Special;
private Rectangle2D[] m_Rects;
public bool Special => m_Special;
public bool Special { get; }
public int ID
{
@ -69,7 +68,7 @@ namespace Server.Engines.Quests.Naturalist
private NestArea( bool special, params Rectangle2D[] rects )
{
m_Special = special;
Special = special;
m_Rects = rects;
}