mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-09 21:26:49 +08:00
fixed funbox challenges not loading correctly
This commit is contained in:
parent
9be96bd163
commit
fc995e0baa
2 changed files with 3 additions and 3 deletions
|
@ -186,7 +186,7 @@ export async function setup(challengeName) {
|
|||
UpdateConfig.setMode("time", true);
|
||||
UpdateConfig.setDifficulty("master", true);
|
||||
} else if (challenge.type === "funbox") {
|
||||
Funbox.activate(challenge.parameters[0]);
|
||||
UpdateConfig.setFunbox(challenge.parameters[0], true);
|
||||
UpdateConfig.setDifficulty("normal", true);
|
||||
if (challenge.parameters[1] === "words") {
|
||||
UpdateConfig.setWordCount(challenge.parameters[2], true);
|
||||
|
|
|
@ -536,7 +536,7 @@
|
|||
"display": "I kInDa LiKe HoW iNeFfIcIeNt QwErTy Is",
|
||||
"autoRole": true,
|
||||
"type": "funbox",
|
||||
"parameters": ["randomcase","time",3600],
|
||||
"parameters": ["rAnDoMcAsE","time",3600],
|
||||
"requirements" : {
|
||||
"wpm": {
|
||||
"min": 100
|
||||
|
@ -544,7 +544,7 @@
|
|||
"time": {
|
||||
"min": 60
|
||||
},
|
||||
"funbox": "randomcase"
|
||||
"funbox": "rAnDoMcAsE"
|
||||
}
|
||||
}
|
||||
,{
|
||||
|
|
Loading…
Reference in a new issue