diff --git a/src/lang.rs b/src/lang.rs index 5322791..12cce9c 100644 --- a/src/lang.rs +++ b/src/lang.rs @@ -675,7 +675,7 @@ impl DeckSettings { list = state .dictionary - .par_iter() + .iter() .enumerate() .filter(|(_, word)| { let mut more = rhai::Map::new(); @@ -684,7 +684,7 @@ impl DeckSettings { } let mut scope = Scope::new(); scope - .push_constant("id", word.id.0) + .push_constant("id", word.id.0 as i64) .push_constant("key", word.key.clone()) .push_constant("value", word.value.clone()) .push_constant("tags", word.tags.clone())