summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-25 21:39:13 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-25 21:39:13 +0100
commitfa3969b65100283bf99d350d387460adf2253fb7 (patch)
tree545be681429f79fc7abd5e93c2677b79adc29434
parentde5ea300b86454a64d5e930f51a18622b60f59df (diff)
downloadminionlivesmatter-fa3969b65100283bf99d350d387460adf2253fb7.tar.gz
minionlivesmatter-fa3969b65100283bf99d350d387460adf2253fb7.zip
finer minions dead / min update resolution
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index e4b141b..1aa1ba1 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -279,9 +279,9 @@
var minions = 0;
// sum(minions killed) / (seconds per day)
setInterval(() => {
- minions += minions_per_second;
+ minions += minions_per_second / 10;
$("#minions-killed-now").text(Math.floor(minions));
- }, 1000);
+ }, 100);
</script>
<!-- Just for demo -->