Fix issues with app crash

This commit is contained in:
Victor Shcherb 2014-10-25 14:15:10 +02:00
parent b269515866
commit 4565612ee6

View file

@ -191,6 +191,9 @@ public class GeneralRouter implements VehicleRouter {
}
public long[] getImpassableRoadIds() {
if(impassableRoads == null) {
return new long[0];
}
return impassableRoads.toArray();
}