]> git.eli173.com Git - pong_br/commitdiff
progress on input bug
authorElijah Cohen <eli@eli173.com>
Sat, 18 May 2019 02:58:55 +0000 (21:58 -0500)
committerElijah Cohen <eli@eli173.com>
Sat, 18 May 2019 02:58:55 +0000 (21:58 -0500)
server/player.js

index 0f8a7e251c216d0946c661b21f4fb557469090e5..a1a25fbdb0c578db63ca02f0b3e9206d303895eb 100644 (file)
@@ -36,9 +36,7 @@ Player.prototype.send_data = function(data) {
 }
 
 Player.prototype.get_status = function() {
-    var stat = this.status;
-    this.status = 'x';
-    return stat;
+    return this.status;
 }
 
 Player.prototype.close = function() {