From 2b180daf1e2687436046b853c59e0abe12c50f57 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Sat, 29 Apr 2023 23:59:54 +0200 Subject: added fallback if no primaries, removed prints --- src/commands/modification.rs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src/commands/modification.rs') diff --git a/src/commands/modification.rs b/src/commands/modification.rs index ffc4e10..67cde0b 100644 --- a/src/commands/modification.rs +++ b/src/commands/modification.rs @@ -159,16 +159,20 @@ async fn get_mod_infos(config: Cfg, mod_ids: Vec, list: List) -> MLE f, + None => { files[0].clone() } + } .url; + for ver in available_versions { available_versions_vec.push(ver.id); } -- cgit v1.2.3