detail
This commit is contained in:
parent
875e079730
commit
64bd22ed5a
1 changed files with 1 additions and 1 deletions
|
@ -129,8 +129,8 @@ io.sockets.on('connection', function(socket){
|
||||||
for(i in equipes){
|
for(i in equipes){
|
||||||
equipes[i].emit('moving', {"id": s.id, "position": s.position});
|
equipes[i].emit('moving', {"id": s.id, "position": s.position});
|
||||||
equipes[i].emit('changeColor', {"id": s.id, "color": c, "debug": "timeout"});
|
equipes[i].emit('changeColor', {"id": s.id, "color": c, "debug": "timeout"});
|
||||||
s.color = c;
|
|
||||||
}
|
}
|
||||||
|
s.color = c;
|
||||||
}, invisible_delay, socket, old_color);
|
}, invisible_delay, socket, old_color);
|
||||||
} else {
|
} else {
|
||||||
socket.emit('popup', {"content": MSG_BAD});
|
socket.emit('popup', {"content": MSG_BAD});
|
||||||
|
|
Loading…
Reference in a new issue