Commit 47205eab by 冷斌

fix bug

parent 0c173632
...@@ -683,10 +683,10 @@ io.on('connection', function(socket) { ...@@ -683,10 +683,10 @@ io.on('connection', function(socket) {
//惩罚定时器 //惩罚定时器
LivePH_timer[socket.uid]=setTimeout(function() {//定时设置惩罚时间为0 LivePH_timer[socket.uid]=setTimeout(function() {//定时设置惩罚时间为0
//惩罚结束时清除PK礼物信息1-07修改 //惩罚结束时清除PK礼物信息1-07修改
// LivePK_gift[socket.uid]=0; LivePK_gift[socket.uid]=0;
// LivePK_gift[pkuid]=0; LivePK_gift[pkuid]=0;
// clientRedis.hset('LivePK_gift',socket.uid,0); clientRedis.hset('LivePK_gift',socket.uid,0);
// clientRedis.hset('LivePK_gift',pkuid,0); clientRedis.hset('LivePK_gift',pkuid,0);
clientRedis.hset('LivePH_timer',socket.uid,0); clientRedis.hset('LivePH_timer',socket.uid,0);
if(LivePH_timer[socket.uid]){ if(LivePH_timer[socket.uid]){
......
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