patches to prevent script from crashing when nodes disconnect and reconnect

This commit is contained in:
2025-09-08 12:56:21 -05:00
parent 4a93e87a46
commit f5e5233515
2 changed files with 110 additions and 11 deletions
+3
View File
@@ -195,6 +195,9 @@ function main() {
continue;
}
for (let node2 of currentNodesKeys) {
if (!nodeTable[node2]) {
continue;
}
if (node1 !== node2) {
const node1data = currentNodes[node1];
const node2data = currentNodes[node2];