mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added another .replace
This commit is contained in:
parent
3f45f7f250
commit
80c45b6396
@ -239,7 +239,7 @@ lazy_static! {
|
||||
if path.is_dir(){
|
||||
list_items(&path, &base, &mut items)?;
|
||||
} else if let Ok(path) = path.strip_prefix(base) {
|
||||
let path = path.to_string_lossy().trim_end_matches(".ron").replace('/', ".");
|
||||
let path = path.to_string_lossy().trim_end_matches(".ron").replace('/', ".").replace('\\', ".");
|
||||
items.push(path);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user