forked from StrafesNET/map-tool
clarify function name
This commit is contained in:
parent
c2d0a4487c
commit
de9712b7a1
@ -21,7 +21,7 @@ enum Commands {
|
||||
VPKContents,
|
||||
BSPContents,
|
||||
DownloadMeshes(PathBufList),
|
||||
Extract(PathBufList),
|
||||
ExtractScripts(PathBufList),
|
||||
WriteAttributes,
|
||||
Interactive,
|
||||
Replace,
|
||||
@ -50,7 +50,7 @@ fn main() -> AResult<()> {
|
||||
Commands::BSPContents=>bsp_contents(cli.path.unwrap()),
|
||||
Commands::ConvertTextures=>convert_textures(),
|
||||
Commands::DownloadMeshes(pathlist)=>download_meshes(pathlist.paths),
|
||||
Commands::Extract(pathlist)=>extract(pathlist.paths),
|
||||
Commands::ExtractScripts(pathlist)=>extract_scripts(pathlist.paths),
|
||||
Commands::WriteAttributes=>write_attributes(),
|
||||
Commands::Interactive=>interactive(),
|
||||
Commands::Replace=>replace(),
|
||||
@ -589,7 +589,7 @@ fn scan() -> AResult<()>{
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn extract(paths: Vec<PathBuf>) -> AResult<()>{
|
||||
fn extract_scripts(paths: Vec<PathBuf>) -> AResult<()>{
|
||||
let mut id = 0;
|
||||
//Construct allowed scripts
|
||||
let mut script_set = std::collections::HashSet::<String>::new();
|
||||
|
Loading…
Reference in New Issue
Block a user