hot fix stuffs

This commit is contained in:
Bitl 2020-07-26 12:49:19 -07:00
parent 47167f2be5
commit d77601aa86
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@
using System; using System;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection.Emit;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Windows.Forms; using System.Windows.Forms;
using System.Xml; using System.Xml;
@ -494,7 +495,7 @@ public static class RobloxXML
public static string ReplaceHexadecimalSymbols(string txt) public static string ReplaceHexadecimalSymbols(string txt)
{ {
string r = "[\x00-\x08\x0B\x0C\x0E-\x1F\x26]"; string r = "[\x00-\x08\x0B\x0C\x0E-\x1F]";
return Regex.Replace(txt, r, "", RegexOptions.Compiled); return Regex.Replace(txt, r, "", RegexOptions.Compiled);
} }
} }

View File

@ -544,6 +544,7 @@ public class GlobalFuncs
} }
File.Copy(src, dest, overwrite); File.Copy(src, dest, overwrite);
File.SetAttributes(dest, FileAttributes.Normal);
} }
public static string CopyMapToRBXAsset() public static string CopyMapToRBXAsset()