Multiple server instances in one process is now possible

This commit is contained in:
Sardelka
2022-06-23 14:10:16 +08:00
parent 41385abc7d
commit 82e7cdd785
11 changed files with 302 additions and 294 deletions

View File

@ -48,7 +48,7 @@ namespace RageCoop.Core.Scripting
var r = new Resource()
{
Scripts = new List<IScriptable>(),
Name=Path.GetDirectoryName(path),
Name=Path.GetFileName(path),
Directory=path,
};
foreach (var f in Directory.GetFiles(path, "*.dll"))