Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -1014,7 +1014,7 @@ namespace Server.Factions
|
|||
|
||||
if ( pack != null )
|
||||
{
|
||||
Container killerPack = ( killer == null ? null : killer.Backpack );
|
||||
Container killerPack = killer?.Backpack;
|
||||
Item[] sigils = pack.FindItemsByType( typeof( Sigil ) );
|
||||
|
||||
for ( int i = 0; i < sigils.Length; ++i )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue