mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'swilliams/give_item_fix' into 'master'
Fix for Issue 1210 See merge request veloren/veloren!2484
This commit is contained in:
commit
ec7d3b5e37
@ -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