Skip to content

Commit

Permalink
Change DOLScriptCompiler default referenced assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
NetDwarf committed Jan 28, 2024
1 parent 86f2a0e commit 45fd543
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions GameServer/gameutils/DOLScriptCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ private static void LoadDefaultAssemblies()
.Where(s => !string.IsNullOrEmpty(s))
.Select(s => MetadataReference.CreateFromFile(s));
var additionalReferences = new string[] {
"System.Security.Cryptography.Algorithms", //for SHA256 in AutoXMLDatabaseUpdate
"System.Security.Cryptography.Primitives", //for SHA256 in AutoXMLDatabaseUpdate
"System.Security.Cryptography", //for SHA256 in AutoXMLDatabaseUpdate
"System.Net.Http"
}.Union(GameServer.Instance.Configuration.AdditionalScriptAssemblies)
.Select(r => GetPortableExecutableReference(r));
Expand Down

0 comments on commit 45fd543

Please sign in to comment.