PR Review comments

This commit is contained in:
émeryc
2023-07-12 22:10:23 -04:00
parent 12e7cb0625
commit 43d1e07aba
10 changed files with 11 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ namespace Nuake
{
// Parse the project and load it.
std::string projectPath = FileDialog::OpenFile(".project");
FileSystem::SetRootDirectory(FileSystem::RemoveFileFromPath(projectPath));
FileSystem::SetRootDirectory(FileSystem::GetParentPath(projectPath));
Ref<Project> project = Project::New();
if (!project->Deserialize(FileSystem::ReadFile(projectPath, true)))
{