Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -19,7 +19,9 @@ namespace Server.Engines.Quests.Haven
public CannonDirection CannonDirection => m_CannonDirection;
[CommandProperty( AccessLevel.GameMaster )]
public MilitiaCanoneer Canoneer { get { return m_Canoneer; } set { m_Canoneer = value; } }
public MilitiaCanoneer Canoneer { get => m_Canoneer;
set => m_Canoneer = value;
}
[Constructible]
public Cannon( CannonDirection direction )
@ -149,7 +151,7 @@ namespace Server.Engines.Quests.Haven
[CommandProperty( AccessLevel.GameMaster )]
public MilitiaCanoneer Canoneer
{
get { return Addon is Cannon cannon ? cannon.Canoneer : null; }
get => Addon is Cannon cannon ? cannon.Canoneer : null;
set { if ( Addon is Cannon cannon ) cannon.Canoneer = value; }
}