Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -98,7 +98,7 @@ namespace Server.Items
|
|||
|
||||
public virtual void UseGate( Mobile m )
|
||||
{
|
||||
ClientFlags flags = m.NetState == null ? ClientFlags.None : m.NetState.Flags;
|
||||
ClientFlags flags = m.NetState?.Flags ?? ClientFlags.None;
|
||||
|
||||
if ( Factions.Sigil.ExistsOn( m ) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -191,10 +191,6 @@ namespace Server.Items
|
|||
pot.Delete();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: Target a bottle
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue