Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -778,10 +778,8 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1158,9 +1156,6 @@ namespace Server.Engines.ConPVP
|
|||
AddBorderedText( 235 + 15, 105 + ( i * 75 ), 250, 20, pl.Player.Name, 0xFFC000, BlackColor32 );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
|
||||
AddButton( 314, height - 42, 247, 248, 1, GumpButtonType.Reply, 0 );
|
||||
}
|
||||
|
|
@ -1402,8 +1397,7 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
if ( m_Name != null )
|
||||
return $"({Name}) ...";
|
||||
else
|
||||
return "...";
|
||||
return "...";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue