diff --git a/src/main.rs b/src/main.rs index d1ae77d..067f7a4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ fn main() { Ok(loaded_idkeys) => { match load_shinystats(executable_path) { Ok(loaded_shinystats) => { - if let Err(e) = cook_0(debug_mode, loaded_config, loaded_idkeys, loaded_shinystats) { + if let Err(e) = cook(debug_mode, loaded_config, loaded_idkeys, loaded_shinystats) { println!("{}", e); } }, @@ -106,11 +106,7 @@ fn main() { } } } -// 0: Gear -fn cook_0(mut debug_mode: bool, json_config: Jsonconfig, idsmap: HashMap, json_shiny: Vec) -> Result<(), Errorfr> { - // load configs - // println!("{:?}",idsmap.get("airDamage")); - +fn cook(mut debug_mode: bool, json_config: Jsonconfig, idsmap: HashMap, json_shiny: Vec) -> Result<(), Errorfr> { // create necessary variables let mut out = Vec::new(); let ver = TransformVersion::Version1; @@ -128,7 +124,7 @@ fn cook_0(mut debug_mode: bool, json_config: Jsonconfig, idsmap: HashMap