Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RoomVisual.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ const dirs = [

RoomVisual.prototype.connectRoads = function(opts={}){
let color = opts.color || colors.road || 'white'
if(!this.roads) return
if(!this.roads) return this
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just a bug form before. found while typechecking.

this.roads.forEach(r=>{
for(let i=1;i<=4;i++){
let d = dirs[i]
Expand Down
Loading