fix exception on add station to path
This commit is contained in:
@@ -182,6 +182,7 @@ public class RouterController {
|
||||
StationModel sS = sStation.getValue();
|
||||
StationModel tS = tStation.getValue();
|
||||
PathRouteModel r = market.getPath(sS, tS);
|
||||
if (r == null) return;
|
||||
if (route != null){
|
||||
route = route.add(r);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user