Fix the special 'Not' condition not working with some conditions related to objects (#3367)

This commit is contained in:
Arthur Pacaud
2021-12-24 13:36:58 +01:00
committed by GitHub
parent cd8901a524
commit f36c9940ed

View File

@@ -278,7 +278,7 @@ CommonInstructionsExtension::CommonInstructionsExtension() {
outputCode +=
codeGenerator.GenerateBooleanFullName(
"condition" + gd::String::From(i) + "IsTrue", context) +
".val = true;\n";
".val = false;\n";
}
for (unsigned int cId = 0; cId < conditions.size(); ++cId) {