Added node highlight, fixed temporary load to include start node as well, fixed For-Condition
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user