X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=empathy.js;h=b7d01a0566c2d5b379db9ab90c3c77f4c8928bbd;hb=7cfa4c75739452a6022e2266cc4d6444ef79f4a5;hp=4b7b5a9d3b9ee1f25c921240790e7608a2d282bc;hpb=d847a53da957e652a0b22a8b09b267e09bd0fe39;p=empires-server diff --git a/empathy.js b/empathy.js index 4b7b5a9..b7d01a0 100644 --- a/empathy.js +++ b/empathy.js @@ -55,7 +55,7 @@ class Empathy extends Game { this.state.players_answering = new Set(); this.state.answering_idle = false; this.state.end_answers = new Set(); - this.state.ambiguities = 0; + this.state.ambiguities = null; this.state.players_judged = []; this.state.players_judging = new Set(); this.state.end_judging = new Set(); @@ -550,6 +550,8 @@ router.post('/end-judging/:prompt_id([0-9]+)', (request, response) => { router.post('/reset', (request, response) => { const game = request.game; game.reset(); + + response.send(''); }); Empathy.meta = {