Skip to content

Commit

Permalink
Fixed startup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkTreasure1 committed Dec 27, 2023
1 parent 4bc0058 commit 829cb27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Engine/Launcher.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions Engine/Sandbox.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions Volt/Volt/src/Volt/Project/ProjectManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ namespace Volt
{
m_currentProject->projectDirectory = projectPath.parent_path();
m_currentProject->projectFilePath = projectPath;

}
else
{
Expand All @@ -39,7 +38,8 @@ namespace Volt
VT_CORE_INFO("[ProjectManager]: Loading project {0}", projectPath);
DeserializeProject();

m_currentEngineDirectory = std::filesystem::current_path();
m_currentEngineDirectory = FileSystem::GetEnvVariable("VOLT_PATH");
std::filesystem::current_path(m_currentEngineDirectory);
}

void ProjectManager::SerializeProject()
Expand Down

0 comments on commit 829cb27

Please sign in to comment.