// 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);
info.getGroup().stop();
} else {
// Switch the rails to the right direction
PathConnection conn = node.findConnection(destination);