Skip to content

Commit

Permalink
Add comment about the nuance
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Dec 18, 2024
1 parent a6a1223 commit 2ad88e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Common/getInstanceFromFullName.luau
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ local function getInstanceFromFullName(fullName: string): Instance?
break
else
if #tempParts == 1 then
-- This fixes a crash when searching for paths that
-- no longer exist
return nil
else
-- Reduce from the right until we find the next instance
Expand Down

0 comments on commit 2ad88e4

Please sign in to comment.