fix collection modification
This commit is contained in:
parent
2891b18ccd
commit
db474d0109
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue