diff --git a/RenderiteHook/Plugin.cs b/RenderiteHook/Plugin.cs index 30e71c7..5fc6d5c 100644 --- a/RenderiteHook/Plugin.cs +++ b/RenderiteHook/Plugin.cs @@ -47,11 +47,37 @@ public static IEnumerable Transpiler(IEnumerable 1) + { + int ix = str.IndexOf("\"", 1); + if (ix != -1) + { + str = str.Substring(ix + 1).TrimStart(); + } + } + else + { + int ix = str.IndexOf(" "); + if (ix != -1) + { + str = str.Substring(ix + 1).TrimStart(); + } + } + + return str; + } + private static void CopyDoorstopFiles(RenderSystem renderSystem) { try