fix collection modification

This commit is contained in:
mark 2010-11-21 06:15:59 +00:00
parent 2891b18ccd
commit db474d0109

View file

@ -4266,8 +4266,8 @@ namespace Server.Mobiles
{
if (pet.Map != Map)
{
pet.PlaySound(pet.GetAngerSound());
pet.Delete();
pet.PlaySound( pet.GetAngerSound() );
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( pet.Delete() ) );
}
continue;
}