Set new destination to walkers in the black list

This commit is contained in:
nsubiron 2017-05-24 12:32:06 +01:00
parent 29178cced7
commit dce1075eab
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}