From 2bf59a17f80b9752eeca5e85cd56c5df363e18a8 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sun, 1 Mar 2026 22:20:26 +0100 Subject: [PATCH] added mod_id to InstalledMod --- src/basic_types.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/basic_types.rs b/src/basic_types.rs index 48f6d71..b5f377f 100644 --- a/src/basic_types.rs +++ b/src/basic_types.rs @@ -152,6 +152,11 @@ impl InstalledMod { self.files.push((file.source.clone(), file.dest.clone())); } + /// Get the id of the mod + pub fn mod_id(&self) -> String { + self.id.clone() + } + /// The priority over other mods. Only used when 2 files conflict. pub fn priority(&self) -> isize { self.priority