Added node highlight, fixed temporary load to include start node as well, fixed For-Condition

This commit is contained in:
2026-05-14 21:37:26 +02:00
parent eee59b6385
commit 672628ee13
9 changed files with 116 additions and 15 deletions
+2 -2
View File
@@ -19,12 +19,12 @@ public class ForNode : ProgramNode
{
amountExecuted = 0;
}
return isConditionFulfilled ? NodeResult.CONDITIONFALSE : NodeResult.SUCCESS;
return isConditionFulfilled ? NodeResult.SUCCESS : NodeResult.CONDITIONFALSE;
}
private bool DetermineCondition()
{
return amountExecuted < amount;
return amountExecuted >= amount;
}
public override ProgramNode Duplicate()