Fix HTN/NPC better plan selection (#30017)
* recording commit * Remove debugging/recording content
This commit is contained in:
@@ -160,9 +160,9 @@ public sealed class HTNPlanJob : Job<HTNPlan>
|
||||
{
|
||||
var compound = _protoManager.Index<HTNCompoundPrototype>(compoundId.Task);
|
||||
|
||||
for (var i = mtrIndex; i < compound.Branches.Count; i++)
|
||||
for (; mtrIndex < compound.Branches.Count; mtrIndex++)
|
||||
{
|
||||
var branch = compound.Branches[i];
|
||||
var branch = compound.Branches[mtrIndex];
|
||||
var isValid = true;
|
||||
|
||||
foreach (var con in branch.Preconditions)
|
||||
|
||||
Reference in New Issue
Block a user