#W# Region work and some Teleporters
This commit is contained in:
parent
926cc4e0f3
commit
b58a91e216
4 changed files with 33 additions and 19 deletions
|
|
@ -137,8 +137,13 @@ namespace Server.Regions
|
|||
}
|
||||
if ( m is PlayerMobile && m_MapID > 0 )
|
||||
{
|
||||
Server.Misc.MapFunctions.AddLocations( m, m_MapID );
|
||||
m.SendMessage( "You have discovered a new location!" );
|
||||
PlayerMobile pm = (PlayerMobile)m;
|
||||
Server.Misc.MapFunctions.SetLocations( pm );
|
||||
if ( !Server.Misc.MapFunctions.HasLocation( pm, m_MapID ) )
|
||||
{
|
||||
Server.Misc.MapFunctions.AddLocations( m, m_MapID );
|
||||
m.SendMessage( "You have discovered a new location!" );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue