Fix fast route mode (latest bug)
This commit is contained in:
parent
ad1c998113
commit
4c8b83f139
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ public class RouteProvider {
|
|||
RoutingParameter pr = e.getValue();
|
||||
String vl;
|
||||
if(key.equals(GeneralRouter.USE_SHORTEST_WAY)) {
|
||||
Boolean bool = settings.FAST_ROUTE_MODE.getModeValue(params.mode);
|
||||
Boolean bool = !settings.FAST_ROUTE_MODE.getModeValue(params.mode);
|
||||
vl = bool ? "true" : null;
|
||||
} else if(pr.getType() == RoutingParameterType.BOOLEAN) {
|
||||
CommonPreference<Boolean> pref = settings.getCustomRoutingBooleanProperty(key);
|
||||
|
|
Loading…
Reference in a new issue