From: Elijah Cohen Date: Sat, 18 May 2019 01:49:58 +0000 (-0500) Subject: whoops X-Git-Url: https://git.eli173.com/?a=commitdiff_plain;h=65f343d42f92c8f387f28e9cc694a2180def6bb9;p=pong_br whoops --- diff --git a/server/game.js b/server/game.js index cce24a3..76dbd2f 100644 --- a/server/game.js +++ b/server/game.js @@ -17,7 +17,7 @@ Game.prototype.start = function(ms) { var tmpfn = function() {_this.getNextFrame()}; var tmpfn2 = function() {_this.setInt(tmpfn, ms);}; setTimeout(tmpfn2, 3000); - for(var player of players) { + for(var player of this.players) { player.send_data('starting'); } }