From 4d86f6449b9f911490507bf8a2c3fb1e484c1352 Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 1 Feb 2016 06:17:22 -0500 Subject: [PATCH] Normalize path delimiters --- ssc/import.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ssc/import.cs b/ssc/import.cs index 18156a5..90e43f1 100644 --- a/ssc/import.cs +++ b/ssc/import.cs @@ -44,6 +44,7 @@ namespace arookas { public override sunImportResult ResolveImport(string name, out sunScriptFile file) { file = null; var fullPath = ""; + name = name.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar); if (Path.IsPathRooted(name)) { // if the path is absolute, just use it directly fullPath = name;