diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-24 15:11:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-24 15:11:03 +0200 |
| commit | 8da91a76d0c6bc609e7f042cad152930df1a5e32 (patch) | |
| tree | 0085d3945d8a0e78f41420d621f4606c0fb544fc | |
| parent | b7247618dfa985fba6840fe6b04273a15adcb846 (diff) | |
| download | cruncher-8da91a76d0c6bc609e7f042cad152930df1a5e32.tar.gz cruncher-8da91a76d0c6bc609e7f042cad152930df1a5e32.zip | |
use duration from p_s
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -261,7 +261,7 @@ function* chunks(arr) { where: where, attributes: [ [ seq.fn("count", seq.col("participant.id")), "played" ], - //[ seq.fn("sum", seq.col("participant.roster.match.duration")), "time_spent" ], + [ seq.fn("sum", seq.col("duration")), "time_spent" ], [ seq.fn("sum", seq.cast(seq.col("participant.winner"), "int") ), "wins" ], sum("kills"), sum("deaths"), |
