Skip to content

Commit 7cf2d30

Browse files
committed
Don't make RemoveSearchPath paths absolute like GMod
1 parent c41c84f commit 7cf2d30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Source.Filesystem/BaseFileSystem.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public bool RemoveSearchPath(ReadOnlySpan<char> path, ReadOnlySpan<char> pathID)
542542
newPath = new(RelativePathToFullPath(path, "GAME", fullPath));
543543
}
544544
else {
545-
newPath = Path.IsPathFullyQualified(path) ? new(path) : Path.GetFullPath(new(path));
545+
newPath = new(path);
546546
AddSeparatorAndFixPath(ref newPath);
547547
}
548548

0 commit comments

Comments
 (0)