Reset on owner change and region change/restart

This commit is contained in:
Bridget
2020-04-13 13:57:38 +02:00
parent e08fe79f55
commit b8f68ac4f8

View File

@@ -25,6 +25,13 @@ default
}
}
changed(integer change)
{
if(change & CHANGED_OWNER || change & CHANGED_REGION || \
change & CHANGED_REGION_START)
llResetScript();
}
http_request(key id, string method, string body)
{
if(method == URL_REQUEST_GRANTED)