Skip to content

Commit

Permalink
Update DMCompiler/DMCompiler.cs
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
ritorizo and wixoaGit authored Jan 8, 2025
1 parent f5c4678 commit 7eb072e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMCompiler/DMCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void AddResourceDirectory(string dir) {
}

// Adds the root of the DM project to FILE_DIR
compiler.AddResourceDirectory(Path.GetDirectoryName(files[0]));
compiler.AddResourceDirectory(Path.GetDirectoryName(files[0]) ?? "/");

string compilerDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? string.Empty;
string dmStandardDirectory = Path.Join(compilerDirectory, "DMStandard");
Expand Down

0 comments on commit 7eb072e

Please sign in to comment.