From 76d7e70ce6e20b1691741bf3bfbd22840ff786d8 Mon Sep 17 00:00:00 2001 From: Elijah Date: Sun, 10 Dec 2023 16:10:02 -0500 Subject: [PATCH] how am I this retarded --- src/VM.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VM.ts b/src/VM.ts index 9df794f..870c292 100644 --- a/src/VM.ts +++ b/src/VM.ts @@ -101,11 +101,11 @@ export default class VM { var msg = msgpack.decode(this.#currentChunk!) as protocol.ProtocolMessage; if (this.#nopTimeout) clearTimeout(this.#nopTimeout); this.#nopTimeout = setTimeout(() => this.#nopTimeoutFunc(), 5000); + this.#noNop = false; if (!this.isConnectedToVM) { log("INFO", `Got connection to VM at ${this.#id}`); if (this.#messageQueue.size > 0) this.messageQueueLoop(); this.isConnectedToVM = true; - this.#noNop = false; } switch (msg.Operation) { case protocol.ProtocolOperation.ACK: