diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-21 12:20:40 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-21 12:20:40 +0200 |
| commit | c138842b31bac9bbbaa51d285a275e239a11ce8b (patch) | |
| tree | 95646a86fa59337fbcb38ffa5118004b743cc9d4 | |
| parent | 3377d777bd9278581eb2e3508b3229aa5521edb7 (diff) | |
| download | processor-c138842b31bac9bbbaa51d285a275e239a11ce8b.tar.gz processor-c138842b31bac9bbbaa51d285a275e239a11ce8b.zip | |
fuck fuck fuck fuck
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -228,7 +228,7 @@ function flatten(obj) { // when player objects end up in the same batch const duplicate = player_records_direct.find( (pr) => pr.api_id == player.api_id); - if (duplicate) { + if (duplicate == undefined) { logger.error("duplicate disappeared! please investigate, ignoring for now…"); return; } |
