destination = prop.getDestination();
prop.setLastPathNode(node.getName());
}
// Continue with path finding if a valid destination is specified
// If the current node denotes the destination - don't switch!
if (!LogicUtil.nullOrEmpty(destination) && !node.containsName(destination)) {
if (PathProvider.isProcessing()) {
double currentForce = info.getGroup().getAverageForce();
// Add an action to let the train wait until the node IS explored
info.getGroup().getActions().addAction(new GroupActionWaitPathFinding(info, node, destination));
info.getMember().getActions().addActionLaunch(info.getMember().getDirectionFrom(), 1.0, currentForce);