diff --git a/rslib/src/notetype/emptycards.rs b/rslib/src/notetype/emptycards.rs index ce85375d2..8ee67977d 100644 --- a/rslib/src/notetype/emptycards.rs +++ b/rslib/src/notetype/emptycards.rs @@ -97,7 +97,7 @@ impl Collection { nt.templates .get(*ord as usize) .map(|t| t.name.clone()) - .unwrap_or_default() + .unwrap_or_else(|| format!("Card {}", *ord + 1)) }) .collect::>() .join(", "),