This commit is contained in:
parent
18d1396670
commit
88a0697b7f
1 changed files with 7 additions and 2 deletions
|
|
@ -528,6 +528,7 @@ namespace Server.Mobiles
|
|||
if (spawned == null)
|
||||
return;
|
||||
|
||||
spawned.Spawner = this;
|
||||
m_Spawned.Add(spawned);
|
||||
|
||||
Point3D loc = (spawned is BaseVendor ? this.Location : GetSpawnPosition());
|
||||
|
|
@ -691,6 +692,7 @@ namespace Server.Mobiles
|
|||
base.OnDelete();
|
||||
|
||||
RemoveSpawned();
|
||||
|
||||
if ( m_Timer != null )
|
||||
m_Timer.Stop();
|
||||
}
|
||||
|
|
@ -809,8 +811,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
ISpawnable e = World.FindEntity(reader.ReadInt()) as ISpawnable;
|
||||
|
||||
if ( e != null )
|
||||
m_Spawned.Add( e );
|
||||
if (e != null)
|
||||
{
|
||||
e.Spawner = this;
|
||||
m_Spawned.Add(e);
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_Running )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue