diff --git a/Runtime/Visitors/Scripts/VisitorPossessions.cs b/Runtime/Visitors/Scripts/VisitorPossessions.cs index ced7e15..0c1eb4e 100644 --- a/Runtime/Visitors/Scripts/VisitorPossessions.cs +++ b/Runtime/Visitors/Scripts/VisitorPossessions.cs @@ -314,7 +314,7 @@ namespace Passer { string possessableName = possessablePath; int lastSlashIx = possessablePath.LastIndexOf('/'); if (lastSlashIx >= 0) - possessableName = possessablePath.Substring(+1); + possessableName = possessablePath.Substring(lastSlashIx + 1); possessableName = possessableName.ToLower();