Skip to content

Commit

Permalink
Update to maintain compatibility with universal_edges types
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielv123 committed Sep 3, 2024
1 parent 421fa15 commit 853c142
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/worldgen/getEdges.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module.exports = function getEdges({
direction: string_to_direction("West"), // Points west, exit is from the right side
ready: false,
},
link_destinations: {},
});
// Southern edge
edges.push({
Expand All @@ -72,6 +73,7 @@ module.exports = function getEdges({
direction: string_to_direction("West"), // Points west, entrance is from the right side
ready: false,
},
link_destinations: {},
});
// Eastern edge
edges.push({
Expand All @@ -97,6 +99,7 @@ module.exports = function getEdges({
direction: string_to_direction("South"), // Points south, entrance is from the right side
ready: false,
},
link_destinations: {},
});
// Western edge
edges.push({
Expand All @@ -122,6 +125,7 @@ module.exports = function getEdges({
direction: string_to_direction("South"), // Points south, entrance is from the right side
ready: false,
},
link_destinations: {},
});
if (includeMissing) {
return edges;
Expand Down

0 comments on commit 853c142

Please sign in to comment.