diff --git a/src/Filesystem/SubdirFilesystem.cpp b/src/Filesystem/SubdirFilesystem.cpp index 46daac0..3334bd3 100644 --- a/src/Filesystem/SubdirFilesystem.cpp +++ b/src/Filesystem/SubdirFilesystem.cpp @@ -32,7 +32,7 @@ namespace Tesses::Framework::Filesystem SubdirFilesystem::SubdirFilesystem(VFS* parent, VFSPath path, bool owns) { this->parent = parent; - if(dynamic_cast(parent) != nullptr) + if(path.relative && dynamic_cast(parent) != nullptr) { Tesses::Framework::Filesystem::LocalFilesystem lfs; auto curDir = std::filesystem::current_path();