Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -15,8 +15,8 @@ namespace Server.Factions
|
|||
{
|
||||
m_Faction = value;
|
||||
|
||||
Hue = ( m_Faction == null ? 0 : m_Faction.Definition.HueJoin );
|
||||
AssignName( m_Faction == null ? null : m_Faction.Definition.SignupName );
|
||||
Hue = m_Faction?.Definition.HueJoin ?? 0;
|
||||
AssignName( m_Faction?.Definition.SignupName );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue