mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
the fucking limb didnt shitty work. Fuck
This commit is contained in:
@@ -117,9 +117,10 @@ io.on('connection', function(socket){
|
|||||||
})
|
})
|
||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
|
console.log(np[0]["title"] + " before if");
|
||||||
if(startTime+np[0]["duration"]<=get_time()-5)
|
if(startTime+np[0]["duration"]<=get_time()-5)
|
||||||
{
|
{
|
||||||
|
console.log(np[0]["title"] + " after if");
|
||||||
db.collection(coll).update({now_playing:true, id:id},
|
db.collection(coll).update({now_playing:true, id:id},
|
||||||
{$set:{
|
{$set:{
|
||||||
now_playing:false,
|
now_playing:false,
|
||||||
|
|||||||
Reference in New Issue
Block a user