diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index c2f8e96..9d05526 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -1807,7 +1807,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1807 | public void llTriggerSound(string sound, double volume) | 1807 | public void llTriggerSound(string sound, double volume) |
1808 | { | 1808 | { |
1809 | m_host.AddScriptLPS(1); | 1809 | m_host.AddScriptLPS(1); |
1810 | m_host.SendSound(sound, volume, true, 0); | 1810 | // send the sound, once, to all clients in range |
1811 | m_host.SendSound(KeyOrName(sound).ToString(), volume, false, 0); | ||
1811 | } | 1812 | } |
1812 | 1813 | ||
1813 | // Xantor 20080528: Clear prim data of sound instead | 1814 | // Xantor 20080528: Clear prim data of sound instead |