get mod game type
This commit is contained in:
@@ -93,6 +93,10 @@ impl ModConfig {
|
|||||||
pub fn nexus_id(&self) -> Option<&NexusID> {
|
pub fn nexus_id(&self) -> Option<&NexusID> {
|
||||||
self.nexus_id.as_ref()
|
self.nexus_id.as_ref()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn game(&self) -> GameType {
|
||||||
|
self.game.clone()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_false(b: &bool) -> bool {
|
fn is_false(b: &bool) -> bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user