From bb96788a3ab48776229985ca0a02f9c5c124b65a Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 15 May 2023 16:06:04 -0300 Subject: WIP socket shenanigans [!!!] this commit is mostly trash lol [!!!] Editor's note: Okay, after rebasing this commit is *super* spooky! It's interacting with a bunch of stuff that was previously handled in a merge commit and the revised changes may or may not be totally broken. If in doubt, assume this commit is the root of all evil (probably). --- serialized-backend.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'serialized-backend.js') diff --git a/serialized-backend.js b/serialized-backend.js index 7ae5e9d..575ba8f 100644 --- a/serialized-backend.js +++ b/serialized-backend.js @@ -56,6 +56,8 @@ export function saveBackend(backend) { } export async function restoreBackend(backend, data) { + // console.log('restoring backend:', data) + if (data.queuePlayers) { if (data.queuePlayers.length === 0) { return -- cgit 1.3.0-6-gf8a5