minor bugfix. next step: implementing the preserveNextRoute action.
Must work in the following conditions: - called from route.setupActions - called from route.startActions - called from route.contactActions - called from autopilot after reaching route.endBlock
This commit is contained in:
@@ -30,7 +30,7 @@ public class PreserveRoute extends Action {
|
||||
return false; // train is expected to wait in next block.
|
||||
}
|
||||
|
||||
train.reserveNext();
|
||||
train.reserveRouteAfter(route);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user