buildfix: TargetRules.IsEditorType() does not exist

This commit is contained in:
monsieurgustav
2017-02-26 11:28:54 +01:00
parent 511d90f8ac
commit 0cab55b697
+1 -1
View File
@@ -38,7 +38,7 @@ namespace UnrealBuildTool.Rules
}
);
if (Target.Type.HasValue && TargetRules.IsEditorType(Target.Type.Value))
if (Target.Type.HasValue && Target.Type.Value == TargetRules.TargetType.Editor)
{
Definitions.Add("OSC_EDITOR_BUILD=1");