mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
This commit is contained in:
@@ -821,8 +821,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
{
|
||||
if (!CanEdit())
|
||||
return;
|
||||
|
||||
GetSOP().SendSound(asset.ToString(), volume, true, 0, 0, false, false);
|
||||
ISoundModule module = m_rootScene.RequestModuleInterface<ISoundModule>();
|
||||
if (module != null)
|
||||
{
|
||||
module.SendSound(GetSOP().UUID, asset, volume, true, 0, 0, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user