mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
I am a stupid fuck
This commit is contained in:
@@ -188,7 +188,7 @@ io.on('connection', function(socket){
|
|||||||
}else{
|
}else{
|
||||||
db.collection(coll).update({views:{$exists:true}}, {$push:{skips:guid}}, function(err, d){
|
db.collection(coll).update({views:{$exists:true}}, {$push:{skips:guid}}, function(err, d){
|
||||||
//reply with skips or something
|
//reply with skips or something
|
||||||
socket.emit("toast", (docs[0]["skips"]+1) " of "+ Math.floor(lists[coll].length/2) + " are needed to skip!");
|
socket.emit("toast", (docs[0]["skips"]+1) + " of "+ Math.floor(lists[coll].length/2) + " are needed to skip!");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}else
|
}else
|
||||||
|
|||||||
Reference in New Issue
Block a user