mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
don't convert from sm2 when ivl = 0 (#2849)
This commit is contained in:
parent
046ae539fb
commit
3713c86373
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ impl Card {
|
|||
self.memory_state = item
|
||||
.map(|i| fsrs.memory_state(i.item, i.starting_state))
|
||||
.or_else(|| {
|
||||
if self.ctype == CardType::New {
|
||||
if self.ctype == CardType::New || self.interval == 0 {
|
||||
None
|
||||
} else {
|
||||
// no valid revlog entries; infer state from current card state
|
||||
|
|
Loading…
Reference in a new issue