Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE committed Feb 28, 2024
1 parent c04828b commit d8f7afa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/parser/src/second_pass/entities.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,16 +326,7 @@ impl<'a> SecondPassParser<'a> {
}
}
if fi.prop_id == WEAPON_SKIN_ID {
// println!("{:?}", path);
fi.prop_id = WEAPON_SKIN_ID + path.path[1] as u32;
/*
if let Some(entry) = path.path.get(path.last - 1) {
if *entry != 0 {
// Fill with impossible id
fi.prop_id = u32::MAX;
}
}
*/
}
return Some(fi);
}
Expand Down
1 change: 0 additions & 1 deletion src/parser/src/second_pass/variants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crate::second_pass::parser_settings::{EconItem, PlayerEndMetaData};
use ahash::{HashMap, HashMapExt};
use itertools::Itertools;
use memmap2::Mmap;
// use pyo3::prelude::*;
use serde::ser::{SerializeMap, SerializeSeq, SerializeStruct};
use serde::Serialize;

Expand Down

0 comments on commit d8f7afa

Please sign in to comment.