Fixes implicit ternary expressions
This commit is contained in:
parent
c85b0a740c
commit
ff26dfa375
345 changed files with 1905 additions and 2336 deletions
|
|
@ -54,7 +54,7 @@ namespace Server.Items
|
|||
for ( int i = 0; i < pack.Items.Count; i++ )
|
||||
{
|
||||
if ( pack.Items[ i ] is PlagueBeastMainOrgan main && main.Complete )
|
||||
main.FinishOpening( @from );
|
||||
main.FinishOpening( from );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,8 +71,8 @@ namespace Server.Items
|
|||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071897 ); // You carefully cut into the organ.
|
||||
return true;
|
||||
}
|
||||
else
|
||||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071898 ); // You have already cut this organ open.
|
||||
|
||||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071898 ); // You have already cut this organ open.
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
@ -378,7 +378,8 @@ namespace Server.Items
|
|||
AddComponent( new PlagueBeastBlood(), 47, 72 );
|
||||
return true;
|
||||
}
|
||||
else if ( c.IsGland )
|
||||
|
||||
if ( c.IsGland )
|
||||
{
|
||||
m_Gland = null;
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ namespace Server.Items
|
|||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071899 ); // You begin cutting through the vein.
|
||||
return true;
|
||||
}
|
||||
else
|
||||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071900 ); // // This vein has already been cut.
|
||||
|
||||
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071900 ); // // This vein has already been cut.
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue