fix going to random node
This commit is contained in:
parent
7410d72876
commit
3cf296d7e5
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@
|
||||||
if(nodes.length > 0){
|
if(nodes.length > 0){
|
||||||
const randomNode = nodes[Math.floor(Math.random() * nodes.length)];
|
const randomNode = nodes[Math.floor(Math.random() * nodes.length)];
|
||||||
if(randomNode){
|
if(randomNode){
|
||||||
goToNode(randomNode.id);
|
goToNode(randomNode.node_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue