Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -66,15 +66,13 @@ namespace Server.Items
|
|||
Delete();
|
||||
return false;
|
||||
}
|
||||
else if ( !IsChildOf( m_Board ) )
|
||||
|
||||
if ( !IsChildOf( m_Board ) )
|
||||
{
|
||||
m_Board.DropItem( this );
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool CanTarget => false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue