mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
Mantis#1425. Thank you kindly, Melanie for a patch that:
0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user