From 9aea76aba4c2e8dfb8b2402a5cbd2a93da79238c Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 31 Dec 2017 19:00:08 +0100 Subject: typo: surrendered -> surrender --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker.js') diff --git a/worker.js b/worker.js index ed0bf10..cdb76f3 100644 --- a/worker.js +++ b/worker.js @@ -664,7 +664,7 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { // items - simple, has been prepared in `process()` already (grep for `ppi`) p_i = participant.participant_items; // not really "item", but I need this one - p_i.surrendered = (match.end_game_reason == "surrender" && participant.winner == false); + p_i.surrender = (match.end_game_reason == "surrender" && participant.winner == false); p_i.participant_api_id = participant.api_id; // meta -- cgit v1.3.1