#W# HouseRegion update.
This commit is contained in:
parent
baffba9a2d
commit
e52dadc9b8
1 changed files with 18 additions and 0 deletions
|
|
@ -428,5 +428,23 @@ namespace Server.Regions
|
||||||
return m_House;
|
return m_House;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void OnEnter( Mobile m )
|
||||||
|
{
|
||||||
|
base.OnEnter( m );
|
||||||
|
if ( m != null && m.Player )
|
||||||
|
{
|
||||||
|
Server.Commands.StableMountCommand.ForceDismountAndStore((PlayerMobile)m);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnExit( Mobile m )
|
||||||
|
{
|
||||||
|
base.OnExit( m );
|
||||||
|
if ( m != null && m.Player )
|
||||||
|
{
|
||||||
|
Server.Commands.RetrieveMountCommand.AutoRemountPlayer((PlayerMobile)m);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue