mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-10-31 02:52:01 +01:00
fix going to random node
This commit is contained in:
1 parent
7410d72876
commit
3cf296d7e5
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user