]> git.cworth.org Git - lmno.games/commit
Fix category voting to select among only those with the most votes
authorCarl Worth <cworth@cworth.org>
Mon, 29 Jun 2020 21:56:16 +0000 (14:56 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 29 Jun 2020 21:56:16 +0000 (14:56 -0700)
commit49a7e9338a8160363ede955ae0d036abc360a359
tree8b719fca8d32b8e25f8ccb717f410160a36ae98c
parent11b1bab7b7ab4bc2c1e1f556a526baf1f01e2041
Fix category voting to select among only those with the most votes

Previously, the code was selecting randomly among all categories with
at least a quorum of votes. With this commit, the code now does what
was intended, by selecting randomly only among the categories that are
tied for the most votes.
empathy/empathy.jsx