diff --git a/src/filesystem.cpp b/src/filesystem.cpp index e805aef9..f431a0da 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -9,6 +9,10 @@ void sqf::filesystem::addPathMappingInternal(std::filesystem::path virt, std::fi std::vector virtElements; for (auto& el : virt) { //Split path into elements + if (el.string().empty()) + { + continue; + } virtElements.emplace_back(el.string()); }