mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
fixed wrong variable being saved in the result. fixes #1289
This commit is contained in:
parent
85a4215d5b
commit
12c10a7407
1 changed files with 4 additions and 3 deletions
|
@ -1304,7 +1304,7 @@ export function finish(difficultyFailed = false) {
|
|||
keyDuration: TestStats.keypressTimings.duration.array,
|
||||
consistency: consistency,
|
||||
keyConsistency: keyConsistency,
|
||||
funbox: Funbox.active,
|
||||
funbox: Funbox.funboxSaved,
|
||||
bailedOut: bailout,
|
||||
chartData: chartData,
|
||||
customText: cdata,
|
||||
|
@ -1651,8 +1651,9 @@ export function finish(difficultyFailed = false) {
|
|||
}
|
||||
if (
|
||||
Config.mode != "custom" &&
|
||||
Funbox.active !== "gibberish" &&
|
||||
Funbox.active !== "58008"
|
||||
Funbox.funboxSaved !== "gibberish" &&
|
||||
Funbox.funboxSaved !== "ascii" &&
|
||||
Funbox.funboxSaved !== "58008"
|
||||
) {
|
||||
testType += "<br>" + lang;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue