Skip to content
Snippets Groups Projects
Commit 651648e3 authored by arshiam2's avatar arshiam2
Browse files

wip

parent e5cd699f
No related branches found
No related tags found
1 merge request!2WIP: Old 4
...@@ -148,8 +148,9 @@ socket.on("message", function(message, rinfo) { ...@@ -148,8 +148,9 @@ socket.on("message", function(message, rinfo) {
if (text[0] === "dead") { if (text[0] === "dead") {
console.log(text) console.log(text)
console.log(text[1].toString()[0])
machines = machines.filter(m => m.toString()[0] !== text[1].toString()[0]); machines = machines.filter(m => m.toString()[0] !== text[1].toString()[0]);
getPairings(machines); console.log(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