mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
not showing crown based on local data if a funbox is active
This commit is contained in:
parent
08ad5728db
commit
3fb097c62c
1 changed files with 7 additions and 0 deletions
|
@ -1553,6 +1553,13 @@ export function finish(difficultyFailed = false) {
|
|||
if (lpb < stats.wpm && stats.wpm < highestwpm) {
|
||||
dontShowCrown = true;
|
||||
}
|
||||
if (
|
||||
Config.funbox !== "none" &&
|
||||
Config.funbox !== "plus_one" &&
|
||||
Config.funbox !== "plus_two"
|
||||
) {
|
||||
dontShowCrown = true;
|
||||
}
|
||||
if (Config.mode == "quote") dontShowCrown = true;
|
||||
if (lpb < stats.wpm) {
|
||||
//new pb based on local
|
||||
|
|
Loading…
Reference in a new issue