Skip to content

Commit

Permalink
Fix BorderEnabler
Browse files Browse the repository at this point in the history
  • Loading branch information
colinator27 committed May 13, 2021
1 parent 7e03d58 commit daeffa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UndertaleModTool/SampleScripts/BorderEnabler.csx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Data.Functions.EnsureDefined("window_set_size", Data.Strings);
Data.Code.ByName("gml_Object_obj_time_Create_0").AppendGML("window_set_size(960, 540);", Data);

// Load border textures
string bordersPath = new Uri(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\\SampleScripts\\Borders\\").LocalPath;
string bordersPath = Path.Combine(Path.GetDirectoryName(ScriptPath), "Borders");

Dictionary<string, UndertaleEmbeddedTexture> textures = new Dictionary<string, UndertaleEmbeddedTexture>();
if (!Directory.Exists(bordersPath))
Expand Down

0 comments on commit daeffa9

Please sign in to comment.