check root part from script

master
Christopher 2020-06-28 15:53:26 +02:00
parent c65e4e4702
commit 6ac1e6eaf9
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ namespace OpenSim.Modules.TextureFetcher
private void copyTexturesToInventory(SceneObjectPart part)
{
if (inventoryContainsScripts(part))
if (inventoryContainsScripts(part.ParentGroup.RootPart))
return;
try