- Tamable released creatures will now have a timer of 3 days: when the timer is over, the creature will be deleted.

The timer will stop when the creature is tamed again, and reset to 3 days when released again.
This is meant to reduce CPU work by reducing the number of creatures which need serialization
(http://www.uodemise.com/discussion/showthread.php?t=133920)
This commit is contained in:
daedalus 2010-02-06 11:14:32 +00:00
parent ba8f9ebf40
commit bab1490105
2 changed files with 73 additions and 1 deletions

View file

@ -1545,6 +1545,8 @@ namespace Server.Mobiles
if( m_Mobile.DeleteOnRelease || m_Mobile.IsDeadPet )
m_Mobile.Delete();
m_Mobile.BeginDeleteTimer();
return true;
}