Fix condition in is_included_card function to check CardType instead of CardQueue

This commit is contained in:
Jarrett Ye 2025-07-09 17:09:43 +08:00
parent 0f7577a999
commit 08206ca5b6
No known key found for this signature in database
GPG key ID: EBFC55E0C1A352BB

View file

@ -132,7 +132,7 @@ impl Collection {
fn is_included_card(c: &Card) -> bool {
c.queue != CardQueue::Suspended
&& c.queue != CardQueue::PreviewRepeat
&& c.queue != CardQueue::New
&& c.ctype != CardType::New
}
// calculate any missing memory state
for c in &mut cards {