Fixes Script loading.

Some cleanup on array Clear
Misc errors
This commit is contained in:
hondacrx
2017-12-24 16:37:15 -05:00
parent 9937d1e421
commit c7219c7098
15 changed files with 30 additions and 13 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ namespace Game.Scripting
return;
}
Assembly assembly = Assembly.LoadFile(Path.GetFullPath("Scripts.dll"));
Assembly assembly = Assembly.LoadFile(AppContext.BaseDirectory + "Scripts.dll");
if (assembly == null)
{
Log.outError(LogFilter.ServerLoading, "Error Loading Scripts.dll, Only Core Scripts are loaded.");