the fucking limb didnt shitty work. Fuck

This commit is contained in:
Kasper Rynning-Tønnesen
2015-04-16 21:24:04 +02:00
parent 1f9d2e0f77
commit ff81829ed1

View File

@@ -117,9 +117,10 @@ io.on('connection', function(socket){
})
}else
{
console.log(np[0]["title"] + " before if");
if(startTime+np[0]["duration"]<=get_time()-5)
{
console.log(np[0]["title"] + " after if");
db.collection(coll).update({now_playing:true, id:id},
{$set:{
now_playing:false,