Commit 00f66c39 by 冷斌

update

parent 7a074c17
...@@ -693,7 +693,7 @@ io.on('connection', function(socket) { ...@@ -693,7 +693,7 @@ io.on('connection', function(socket) {
clearTimeout(LivePH_timer[socket.uid]); clearTimeout(LivePH_timer[socket.uid]);
LivePH_timer[socket.uid]=null; LivePH_timer[socket.uid]=null;
} }
}, 7.5*60*1000);//pk惩罚结束时间 }, 8.5*60*1000);//pk惩罚结束时间
LivePKtime_timer[socket.uid]=setInterval(function() {//定时发送结果 LivePKtime_timer[socket.uid]=setInterval(function() {//定时发送结果
var leftTime = phtime - Math.floor( (new Date()).getTime()/1000); //计算剩余的毫秒数 var leftTime = phtime - Math.floor( (new Date()).getTime()/1000); //计算剩余的毫秒数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment