Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -89,7 +89,7 @@ namespace Server.SkillHandlers
|
|||
else if ( toSteal is Sigil )
|
||||
{
|
||||
PlayerState pl = PlayerState.Find( m_Thief );
|
||||
Faction faction = ( pl == null ? null : pl.Faction );
|
||||
Faction faction = pl?.Faction;
|
||||
|
||||
Sigil sig = (Sigil) toSteal;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue