X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empathy.js;h=04b4c6d4bd3f33bb6ce62817af9088843b554c64;hb=494088c527c26d19391bdab65048ef39b2d590f0;hp=79a0c441218a33b6b3b9219b12ca3d67d18fc8cf;hpb=6dcdee137ccf391989a1c83f1e7df6b4f71631e2;p=lmno-server diff --git a/empathy.js b/empathy.js index 79a0c44..04b4c6d 100644 --- 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); - }, 30 * 1000); + }, 10 * 1000); } /* Notify all players that this player is actively answering. */ @@ -309,7 +309,7 @@ class Empathy extends Game { } canonize(word) { - return word.toLowerCase(); + return word.trim().toLowerCase(); } compute_scores() {