]> git.cworth.org Git - empires-server/commitdiff
Tweak idle timer down from 30 seconds to 10
authorCarl Worth <cworth@cworth.org>
Sun, 14 Jun 2020 23:59:33 +0000 (16:59 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 25 Jun 2020 16:16:04 +0000 (09:16 -0700)
I'm nervos that otherwise the game will impose a long delay after the
final player submits their answers.

empathy.js

index b039a730c4004737c946dad9ae984c0b138c78b4..04b4c6d4bd3f33bb6ce62817af9088843b554c64 100644 (file)
@@ -167,7 +167,7 @@ class Empathy extends Game {
       this.answering_idle_timer = setTimeout(() => {
         this.state_answering_idle = true;
         this.broadcast_event_object('answering-idle', true);
-      }, 30 * 1000);
+      }, 10 * 1000);
     }
 
     /* Notify all players that this player is actively answering. */