summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-16 17:25:32 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-16 17:25:32 +0200
commiteda6a90af3791afd8b4ad68129b5e31ea2deb26d (patch)
treed8a9b0be8acac1de72d49ab717944ca4847aa9bf
parent5981f309d5ca2f3671926002ca647559f01df704 (diff)
downloadtelesucker-eda6a90af3791afd8b4ad68129b5e31ea2deb26d.tar.gz
telesucker-eda6a90af3791afd8b4ad68129b5e31ea2deb26d.zip
Telemetrd: add a phase that spans the whole match
-rw-r--r--worker.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/worker.js b/worker.js
index c998e0d..eb65fd1 100644
--- a/worker.js
+++ b/worker.js
@@ -118,6 +118,7 @@ if (LOGGLY_TOKEN)
} };
// split into phases
const phases = [
+ gamePhase(0, 90 * 60), // whole
gamePhase(0, 1 * 60), // start
gamePhase(1 * 60, 4 * 60), // early game
gamePhase(4 * 60, 10 * 60), // mid game