how am I this retarded

This commit is contained in:
Elijah 2023-12-10 16:10:02 -05:00
parent 1adac4f982
commit 76d7e70ce6

View file

@ -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: