Set the script state to new rez when a scriptis saved, rather than region start.

Prevents CHANGED_REGION_RESTART being sent to scripts when saving.
avinationmerge
Melanie 2012-10-28 19:09:14 +01:00
parent 1a34f42426
commit dc2c198e5d
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ namespace OpenSim.Region.Framework.Scenes
{
// Needs to determine which engine was running it and use that
//
errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 0);
errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 1);
}
// Tell anyone managing scripts that a script has been reloaded/changed