mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix typo in GetPath
This commit is contained in:
parent
bee527246f
commit
99ed972df6
@ -75,7 +75,7 @@ namespace NewHorizons.Utility
|
||||
|
||||
public static string GetPath(Transform current)
|
||||
{
|
||||
if (current.parent == null) return "/" + current.name;
|
||||
if (current.parent == null) return current.name;
|
||||
return GetPath(current.parent) + "/" + current.name;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user