oops
This commit is contained in:
parent
91e9c49904
commit
6c53b2a896
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "1.9.7",
|
||||
"version": "1.9.8",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
|
|
@ -349,10 +349,10 @@ function makeQuizState(oldVps: T.VPSelectionState): { VPS: T.VPSelectionState, q
|
|||
// don't do the SO switches every time
|
||||
const wholeTimeSOSwitch = randFromArray([true, false]);
|
||||
[1, 2, 3].forEach(() => {
|
||||
// TODO: don't repeat tenses
|
||||
let v: T.VPSelectionState;
|
||||
do {
|
||||
const SOSwitch = wholeTimeSOSwitch && randFromArray([true, false]);
|
||||
// TODO: if switich subj and obj, include the tense being correct maybe
|
||||
v = getRandomVPSelection("tenses")(
|
||||
SOSwitch ? switchSubjObj(vps) : vps,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue