From f4c7a976145213c817233ba311297e8cd2ca090b Mon Sep 17 00:00:00 2001 From: elijahr2411 Date: Thu, 26 Jan 2023 12:23:17 -0500 Subject: [PATCH] revert the list to its original functionality because that made it slower (vm urls still work) --- src/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/index.js b/src/index.js index fe2dafa..84a5fa9 100644 --- a/src/index.js +++ b/src/index.js @@ -406,12 +406,9 @@ buttons.takeTurn.addEventListener('click', () => vm.turn()); buttons.voteReset.addEventListener('click', () => vm.voteReset(true)); voteyesbtn.addEventListener('click', () => vm.voteReset(true)); votenobtn.addEventListener('click', () => vm.voteReset(false)); -(async () => { - for (var i = 0; i < config.serverAddresses.length; i++) { - var x = await multicollab(config.serverAddresses[i]); - if (x === false) break; - } -})(); + +// Load all vms +config.serverAddresses.forEach(multicollab); // Export some stuff window.screenshotVM = screenshotVM; window.multicollab = multicollab; \ No newline at end of file