Fix loading project reference with relative path in the Editor

This commit is contained in:
Wojtek Figat
2021-09-30 21:37:19 +02:00
parent 70ba71de79
commit 0e8987b654

View File

@@ -188,7 +188,7 @@ bool ProjectInfo::LoadProject(const String& projectPath)
// Relative to project root
referencePath = ProjectFolderPath / reference.Name.Substring(15);
}
else if (!FileSystem::IsRelative(reference.Name))
else if (FileSystem::IsRelative(reference.Name))
{
// Relative to workspace
referencePath = Globals::StartupFolder / reference.Name;