osSetParcelMusicURL

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
Vincent Sylvester
2020-08-08 07:43:57 +02:00
committed by UbitUmarov
parent eeef096e94
commit 4eee476423
4 changed files with 18 additions and 2 deletions

View File

@@ -1979,7 +1979,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
public void osSetParcelMediaURL(string url)
public void osSetParcelMusicURL(string url)
{
CheckThreatLevel(ThreatLevel.VeryLow, "osSetParcelMusicURL");
ILandObject land = World.LandChannel.GetLandObject(m_host.AbsolutePosition);
land.SetMusicUrl(url);
}
public void osSetParcelMediaURL(string url)
{
// What actually is the difference to the LL function?
//
@@ -6096,4 +6105,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return 1;
}
}
}
}