diff --git a/Scripts/Misc/NameList.cs b/Scripts/Misc/NameList.cs index 73c70c118..289fea085 100644 --- a/Scripts/Misc/NameList.cs +++ b/Scripts/Misc/NameList.cs @@ -30,13 +30,13 @@ namespace Server m_List = xml.InnerText.Split( ',' ); for ( int i = 0; i < m_List.Length; ++i ) - m_List[i] = Utility.Intern( m_List[i] ); + m_List[i] = Utility.Intern( m_List[i].Trim() ); } public string GetRandomName() { if ( m_List.Length > 0 ) - return m_List[Utility.Random( m_List.Length )].Trim(); + return m_List[Utility.Random( m_List.Length )]; return ""; } diff --git a/Scripts/Spells/Base/Spell.cs b/Scripts/Spells/Base/Spell.cs index c0502bb16..aac607215 100644 --- a/Scripts/Spells/Base/Spell.cs +++ b/Scripts/Spells/Base/Spell.cs @@ -82,7 +82,7 @@ namespace Server.Spells } } - contexts.Add( new DelayedDamageContext( target, type, timer ); + contexts.Add( new DelayedDamageContext( target, type, timer ) ); } public void RemoveDelayedDamageContext( Mobile target )