diff --git a/common/src/cmd.rs b/common/src/cmd.rs index 54c00c9af4..0a1b91eba6 100644 --- a/common/src/cmd.rs +++ b/common/src/cmd.rs @@ -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); } }