]> git.cworth.org Git - empires-server/blobdiff - empires.js
Move the keepalive functionality from Empires up to Game
[empires-server] / empires.js
index 881a2c0dbdd41409bec91c6c1707323a14637e3c..744224e6b68f30a7abfe4bed34df96ceda81651f 100644 (file)
@@ -38,9 +38,6 @@ class Empires extends Game {
     this.next_player_id = 1;
     this.characters_to_reveal = null;
     this.phase = GamePhase.JOIN;
-
-    /* Send a comment to every connected client every 15 seconds. */
-    setInterval(() => {this.broadcast_string(":");}, 15000);
   }
 
   add_spectator(name, session_id) {