mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
transposing preload sound onto sound module
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
8763a637b5
commit
a68e2fe169
@@ -2461,7 +2461,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public void llPreloadSound(string sound)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
m_host.PreloadSound(sound);
|
||||
if (m_SoundModule != null)
|
||||
m_SoundModule.PreloadSound(KeyOrName(sound), m_host.UUID, 0);
|
||||
ScriptSleep(1000);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user