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

@ -472,10 +472,9 @@ namespace Server.Regions
{
if ( Name != null )
return Name;
else if ( RuneName != null )
if ( RuneName != null )
return RuneName;
else
return GetType().Name;
return GetType().Name;
}
public BaseRegion( string name, Map map, int priority, params Rectangle2D[] area ) : base( name, map, priority, area )