Set new destination to walkers in the black list
This commit is contained in:
parent
29178cced7
commit
dce1075eab
|
@ -130,6 +130,7 @@ void AWalkerSpawnerBase::Tick(float DeltaTime)
|
|||
Walker->Destroy();
|
||||
}
|
||||
} else if (Controller->GetMoveStatus() != EPathFollowingStatus::Moving) {
|
||||
TrySetDestination(*Walker);
|
||||
WalkersBlackList.Add(Walker);
|
||||
Walkers.RemoveAtSwap(Index);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue