diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0cd5954..e0614da 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1659,7 +1659,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1659 | public void llTriggerSound(string sound, double volume) | 1659 | public void llTriggerSound(string sound, double volume) |
1660 | { | 1660 | { |
1661 | m_host.AddScriptLPS(1); | 1661 | m_host.AddScriptLPS(1); |
1662 | m_host.SendSound(sound, volume, true, 0); | 1662 | // send the sound, once, to all clients in range |
1663 | m_host.SendSound(KeyOrName(sound).ToString(), volume, false, 0); | ||
1663 | } | 1664 | } |
1664 | 1665 | ||
1665 | // Xantor 20080528: Clear prim data of sound instead | 1666 | // Xantor 20080528: Clear prim data of sound instead |