Fixes null propogation
This commit is contained in:
parent
22ab83ea9e
commit
3c9842ee5a
218 changed files with 799 additions and 1458 deletions
|
|
@ -513,11 +513,9 @@ namespace Server
|
|||
}
|
||||
else
|
||||
{
|
||||
if ( first != null )
|
||||
first.Delete();
|
||||
first?.Delete();
|
||||
|
||||
if ( second != null )
|
||||
second.Delete();
|
||||
second?.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -539,11 +537,9 @@ namespace Server
|
|||
}
|
||||
else
|
||||
{
|
||||
if ( first != null )
|
||||
first.Delete();
|
||||
first?.Delete();
|
||||
|
||||
if ( second != null )
|
||||
second.Delete();
|
||||
second?.Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue