From 64bd22ed5ae282bbc21fb4990d75a830e52b43f7 Mon Sep 17 00:00:00 2001 From: sgay Date: Wed, 14 Sep 2022 17:11:46 +0000 Subject: [PATCH] detail --- traque.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traque.js b/traque.js index e22d1e5..52783ce 100644 --- a/traque.js +++ b/traque.js @@ -129,8 +129,8 @@ io.sockets.on('connection', function(socket){ for(i in equipes){ equipes[i].emit('moving', {"id": s.id, "position": s.position}); equipes[i].emit('changeColor', {"id": s.id, "color": c, "debug": "timeout"}); - s.color = c; } + s.color = c; }, invisible_delay, socket, old_color); } else { socket.emit('popup', {"content": MSG_BAD});