persist script changes to mediaURL and musicURL ( heavy thing )

avinationmerge
UbitUmarov 2014-09-30 04:24:31 +01:00
parent f117a86c87
commit c704b079d8
1 changed files with 2 additions and 0 deletions

View File

@ -1244,6 +1244,7 @@ namespace OpenSim.Region.CoreModules.World.Land
public void SetMediaUrl(string url)
{
LandData.MediaURL = url;
m_scene.LandChannel.UpdateLandObject(LandData.LocalID, LandData);
SendLandUpdateToAvatarsOverMe();
}
@ -1254,6 +1255,7 @@ namespace OpenSim.Region.CoreModules.World.Land
public void SetMusicUrl(string url)
{
LandData.MusicURL = url;
m_scene.LandChannel.UpdateLandObject(LandData.LocalID, LandData);
SendLandUpdateToAvatarsOverMe();
}