Skip to content

Commit

Permalink
!B (CrySystem) Fix engine starting without a project when migration w…
Browse files Browse the repository at this point in the history
…as not possible

Copied from Perforce
 Change: 1548152
  • Loading branch information
Cry-59 committed Aug 29, 2017
1 parent 28da7fa commit 9214462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/CryEngine/CrySystem/ProjectManager/ProjectManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class CProjectManager final

void AddPlugin(ICryPluginManager::EPluginType type, const char* szFileName);

bool CanMigrateFromLegacyWorkflow() const { return m_project.version == 0 && strlen(gEnv->pCryPak->GetGameFolder()) > 0; }
bool CanMigrateFromLegacyWorkflow() const { return m_project.version == 0 && m_sys_game_folder->GetString()[0] != '\0'; }

protected:
Cry::ProjectManagerInternals::SProject m_project;
Expand Down

0 comments on commit 9214462

Please sign in to comment.