Yengine: ignore llResetScript() in default state_entry like X does. No idea why some do it, but do
parent
54b4e7a3e3
commit
f44569eee5
|
@ -215,6 +215,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine
|
||||||
*/
|
*/
|
||||||
public void ApiReset()
|
public void ApiReset()
|
||||||
{
|
{
|
||||||
|
// do not do llResetScript on entry
|
||||||
|
if(eventCode == ScriptEventCode.state_entry && stateCode == 0)
|
||||||
|
return;
|
||||||
ClearQueueExceptLinkMessages();
|
ClearQueueExceptLinkMessages();
|
||||||
throw new ScriptResetException();
|
throw new ScriptResetException();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue