Skip to content
Snippets Groups Projects
Commit 1b2f7112 authored by arshiam2's avatar arshiam2
Browse files

wip

parent a255ac49
No related branches found
No related tags found
1 merge request!2WIP: Old 4
......@@ -147,10 +147,11 @@ socket.on("message", function(message, rinfo) {
}
if (text[0] === "dead") {
console.log(text)
console.log(text[1].toString()[0])
// console.log(text)
console.log("Killed " + text[1].toString()[0])
machines = machines.filter(m => m.toString()[0] !== text[1].toString()[0]);
console.log(machines)
// console.log(machines)
getPairings(machines);
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment