mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
fix(routes): connect new burg to land route only
This commit is contained in:
parent
fd9e010153
commit
8dad1a3bac
3 changed files with 11 additions and 9 deletions
|
|
@ -845,6 +845,14 @@ function drawRoutes() {
|
|||
TIME && console.timeEnd("drawRoutes");
|
||||
}
|
||||
|
||||
function drawRoute(route) {
|
||||
routes
|
||||
.select("#" + route.group)
|
||||
.append("path")
|
||||
.attr("d", Routes.getPath(route))
|
||||
.attr("id", "route" + route.i);
|
||||
}
|
||||
|
||||
function toggleMilitary(event) {
|
||||
if (!layerIsOn("toggleMilitary")) {
|
||||
turnButtonOn("toggleMilitary");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue