mirror of
https://github.com/opensim/opensim.git
synced 2026-05-25 03:05:41 +08:00
Yengine: ignore llResetScript() in default state_entry like X does. No idea why some do it, but do
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user