From 49f38cb21a45379c7c61f1f3981f710974a11ef4 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sun, 29 Mar 2026 15:36:35 +0200 Subject: [PATCH] get mod game type --- src/types/mod_config.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/mod_config.rs b/src/types/mod_config.rs index 296b20b..613cb5b 100644 --- a/src/types/mod_config.rs +++ b/src/types/mod_config.rs @@ -93,6 +93,10 @@ impl ModConfig { pub fn nexus_id(&self) -> Option<&NexusID> { self.nexus_id.as_ref() } + + pub fn game(&self) -> GameType { + self.game.clone() + } } fn is_false(b: &bool) -> bool {