mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
I DONT KNOW HOW TO FUCKING DO MATH SHIT
This commit is contained in:
@@ -118,7 +118,7 @@ io.on('connection', function(socket){
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
console.log(np[0]["title"] + " before if");
|
console.log(np[0]["title"] + " before if");
|
||||||
if(startTime+np[0]["duration"]<=get_time()-5)
|
if(startTime+np[0]["duration"]<=get_time()+2)
|
||||||
{
|
{
|
||||||
console.log(np[0]["title"] + " after if");
|
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},
|
||||||
|
|||||||
Reference in New Issue
Block a user