Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -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; }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue