fix going to random node

This commit is contained in:
liamcottle
2024-03-13 04:43:19 +13:00
parent 7410d72876
commit 3cf296d7e5

View File

@ -410,7 +410,7 @@
if(nodes.length > 0){
const randomNode = nodes[Math.floor(Math.random() * nodes.length)];
if(randomNode){
goToNode(randomNode.id);
goToNode(randomNode.node_id);
}
}
}