#W# Region work and some Teleporters

This commit is contained in:
WarrentyExpired 2026-07-08 11:32:47 -04:00
parent 926cc4e0f3
commit b58a91e216
4 changed files with 33 additions and 19 deletions

View file

@ -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!" );
}
}
}