From f934bc2cf3c8074c49c5fa29869064b3f368d18b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 28 Oct 2023 14:44:37 +1000 Subject: [PATCH] Fix sm2_retention getting reset on downgrade/sync --- rslib/src/deckconfig/schema11.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/src/deckconfig/schema11.rs b/rslib/src/deckconfig/schema11.rs index ffb83fa69..3023c5e3a 100644 --- a/rslib/src/deckconfig/schema11.rs +++ b/rslib/src/deckconfig/schema11.rs @@ -434,7 +434,7 @@ impl From for DeckConfSchema11 { fsrs_weights: i.fsrs_weights, desired_retention: i.desired_retention, reschedule_fsrs_cards: i.reschedule_fsrs_cards, - sm2_retention: 0.9, + sm2_retention: i.sm2_retention, } } }