Mantis#1425. Thank you kindly, Melanie for a patch that:

0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
0.6.0-stable
Charles Krinke 2008-05-31 00:45:37 +00:00
parent 2d540514f4
commit f2f183b307
1 changed files with 4 additions and 1 deletions

View File

@ -1082,12 +1082,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine
public void ResetScript()
{
bool running=Running;
Stop(0);
m_Engine.m_ASYNCLSLCommandManager.RemoveScript(m_LocalID, m_ItemID);
m_EventQueue.Clear();
m_Script.ResetVars();
m_State = "default";
Start();
if(running)
Start();
PostEvent(new XEventParams("state_entry",
new Object[0], new XDetectParams[0]));
}