Replaced use of IsRocket for checking whether to open an IDE with IsEngineInstalled, which gives clearer reasoning for this.

[CL 2506837 by Matthew Griffin in Main branch]
This commit is contained in:
Matthew Griffin
2015-04-09 11:11:28 -04:00
committed by Matthew.Griffin@epicgames.com
parent cbd0291db2
commit b43002d41a

View File

@@ -1484,9 +1484,9 @@ void SNewProjectWizard::CreateAndOpenProject( )
if( GetSelectedTemplateItem()->bGenerateCode )
{
// Rocket already has the engine compiled, so we can try to build and open a new project immediately. Non-Rocket might require building
// If the engine is installed it is already compiled, so we can try to build and open a new project immediately. Non-installed situations might require building
// the engine (especially the case when binaries came from P4), so we only open the IDE for that.
if (FRocketSupport::IsRocket())
if (FApp::IsEngineInstalled())
{
if (GameProjectUtils::BuildCodeProject(ProjectFile))
{