From bcf8d9344bbe249da0ef5ff307939dc731e7b0af Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 20 Jul 2020 15:48:18 +0100 Subject: [PATCH] fixed a bug that would not allow new entries to be inserted to the lb --- functions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index 006fc9999..cf4bffa09 100644 --- a/functions/index.js +++ b/functions/index.js @@ -951,7 +951,7 @@ class Leaderboard { mode: a.mode, mode2: parseInt(a.mode2), timestamp: a.timestamp, - hidden: a.hidden, + hidden: a.hidden === undefined ? false : a.hidden, }); insertedAt = this.board.length - 1; }