Fixes implicit ternary expressions

This commit is contained in:
Kamron Batman 2018-09-14 14:56:48 -07:00
parent c85b0a740c
commit ff26dfa375
345 changed files with 1905 additions and 2336 deletions

View file

@ -183,10 +183,9 @@ namespace Server.Engines.Help
{
if ( type == PageType.VerbalHarassment )
return "Verbal Harassment";
else if ( type == PageType.PhysicalHarassment )
if ( type == PageType.PhysicalHarassment )
return "Physical Harassment";
else
return type.ToString();
return type.ToString();
}
public static void OnHandlerChanged( Mobile old, Mobile value, PageEntry entry )

View file

@ -21,7 +21,7 @@ namespace Server.Engines.Help
AddHtmlLocalized( 150, 40, 360, 40, 1062610, false, false ); // <CENTER><U>Ultima Online Help Response</U></CENTER>
AddHtml( 80, 90, 480, 290, $"{name} tells {@from.Name}: {text}", true, true );
AddHtml( 80, 90, 480, 290, $"{name} tells {from.Name}: {text}", true, true );
AddHtmlLocalized( 80, 390, 480, 40, 1062611, false, false ); // Clicking the OKAY button will remove the reponse you have received.
AddButton( 400, 417, 2074, 2075, 1, GumpButtonType.Reply, 0 ); // OKAY