mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-07-03 16:31:27 +02: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