Yengine: ignore llResetScript() in default state_entry like X does. No idea why some do it, but do

0.9.1.0-post-fixes
UbitUmarov 2018-11-15 01:24:46 +00:00
parent 54b4e7a3e3
commit f44569eee5
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine
*/
public void ApiReset()
{
// do not do llResetScript on entry
if(eventCode == ScriptEventCode.state_entry && stateCode == 0)
return;
ClearQueueExceptLinkMessages();
throw new ScriptResetException();
}