From 8909981426c7569c6bbdc68277cd686f7047f5fb Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Tue, 9 Jun 2015 18:07:27 +0200 Subject: [PATCH] Commit --- socket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socket.js b/socket.js index 6cc1e95..1189152 100644 --- a/socket.js +++ b/socket.js @@ -26,7 +26,7 @@ module.exports = function(io) { (function (arr) { setTimeout(function() { socket.emit('vertex', arr); - }, i); + }, i*100); })(arr); } else if (lines[i][0] === 'f') { fIndex++; @@ -44,7 +44,7 @@ module.exports = function(io) { (function (arr) { setTimeout(function() { socket.emit('face', arr); - },i); + },i*100); })(arr); }