From 80c45b63964ff84c311df62c4fa1a29062438a50 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Sun, 20 Jun 2021 22:55:58 +0100 Subject: [PATCH] Added another .replace --- common/src/cmd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }