* didn't save :P so, this is the other half to my last commit
parent
9bfd4ec83d
commit
0e771c8d39
|
@ -351,6 +351,25 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
HasInventoryChanged = true;
|
||||
|
||||
int scriptcount = 0;
|
||||
lock (m_taskInventory)
|
||||
{
|
||||
foreach (TaskInventoryItem item in m_taskInventory.Values)
|
||||
{
|
||||
if (item.Type == 10)
|
||||
{
|
||||
scriptcount++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (scriptcount <= 0)
|
||||
{
|
||||
RemFlag(LLObject.ObjectFlags.Scripted);
|
||||
ScheduleFullUpdate();
|
||||
}
|
||||
ScheduleFullUpdate();
|
||||
|
||||
return type;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue