fixed a bug where users that are not logged in would be punished, and the test would break. sorry

This commit is contained in:
Jack 2020-07-07 19:47:46 +01:00
parent c2bde75103
commit 269e1857c8

View file

@ -1008,7 +1008,7 @@ function showResult(difficultyFailed = false) {
blindMode: config.blindMode,
theme: config.theme,
tags: activeTags,
discordId: dbSnapshot.discordId,
discordId: dbSnapshot !== null ? dbSnapshot.discordId : null,
};
if (
config.difficulty == "normal" ||