Fix bug with not

This commit is contained in:
2025-12-15 11:34:56 +11:00
parent 5d0cedb759
commit 6fd84cc7be

View File

@@ -1287,6 +1287,7 @@ GroundValue interpretGroundInstruction(GroundInstruction inst, GroundScope* scop
bool condition = !in->args.args[0].value.value.data.boolVal; bool condition = !in->args.args[0].value.value.data.boolVal;
addVariable(scope->variables, in->args.args[1].value.refName, createBoolGroundValue(condition)); addVariable(scope->variables, in->args.args[1].value.refName, createBoolGroundValue(condition));
break;
} }
case GREATER: { case GREATER: {
if (in->args.length < 3) { if (in->args.length < 3) {