projects
/
empires-server
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ad032
)
Tweak idle timer down from 30 seconds to 10
author
Carl Worth
<cworth@cworth.org>
Sun, 14 Jun 2020 23:59:33 +0000
(16:59 -0700)
committer
Carl 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
patch
|
blob
|
history
diff --git
a/empathy.js
b/empathy.js
index b039a730c4004737c946dad9ae984c0b138c78b4..04b4c6d4bd3f33bb6ce62817af9088843b554c64 100644
(file)
--- a/
empathy.js
+++ b/
empathy.js
@@
-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);
- },
3
0 * 1000);
+ },
1
0 * 1000);
}
/* Notify all players that this player is actively answering. */