mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-03-28 17:43:03 +01:00
fix going to random node
This commit is contained in:
@@ -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