core optimization for small servers
moonglow CoM base coordinates removed an unnecessary using directives name change api client verification null sanity check
This commit is contained in:
parent
110bd99e56
commit
4e0b7a329a
5 changed files with 32 additions and 4 deletions
|
|
@ -509,8 +509,10 @@ namespace Server
|
|||
|
||||
long sample = 0;
|
||||
|
||||
while( m_Signal.WaitOne() )
|
||||
while( !m_Closing )
|
||||
{
|
||||
m_Signal.WaitOne( 10, false );
|
||||
|
||||
Mobile.ProcessDeltaQueue();
|
||||
Item.ProcessDeltaQueue();
|
||||
|
||||
|
|
|
|||
|
|
@ -8392,13 +8392,19 @@ namespace Server
|
|||
{
|
||||
if( m_Name != value ) // I'm leaving out the && m_NameMod == null
|
||||
{
|
||||
string oldName = m_Name;
|
||||
m_Name = value;
|
||||
OnAfterNameChange( oldName, m_Name );
|
||||
Delta( MobileDelta.Name );
|
||||
InvalidateProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public virtual void OnAfterNameChange( string oldName, string newName )
|
||||
{
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public DateTime LastStrGain
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue