Minor 'unless' logic update

This commit is contained in:
Joshua Granick
2017-05-15 13:05:45 -07:00
parent 7a15ee2e93
commit 1a8dbd370e

View File

@@ -223,7 +223,12 @@ class ProjectXMLParser extends HXProject {
required = substitute (required);
var check = StringTools.trim (required);
if (check != "" && check != "true" && !defines.exists (check) && (environment == null || !environment.exists (check)) && check != command) {
if (check == "false") {
matchRequired = false;
} else if (check != "" && check != "true" && !defines.exists (check) && (environment == null || !environment.exists (check)) && check != command) {
matchRequired = false;