mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-14 02:27:16 +08:00
fix: also disallow stop on letter on the daily leaderboards
This commit is contained in:
parent
45781e8d61
commit
d2d1f83a36
1 changed files with 2 additions and 1 deletions
|
@ -469,7 +469,8 @@ export async function addResult(
|
|||
!completedEvent.bailedOut &&
|
||||
user.banned !== true &&
|
||||
user.lbOptOut !== true &&
|
||||
(isDevEnvironment() || (user.timeTyping ?? 0) > 7200);
|
||||
(isDevEnvironment() || (user.timeTyping ?? 0) > 7200) &&
|
||||
completedEvent.stopOnLetter !== true;
|
||||
|
||||
const selectedBadgeId = user.inventory?.badges?.find((b) => b.selected)?.id;
|
||||
const isPremium =
|
||||
|
|
Loading…
Add table
Reference in a new issue