minor refactor to CsScriptLoader plus fixed source category regex not working as expected with some paths
This commit is contained in:
@@ -444,7 +444,7 @@ namespace Barotrauma
|
||||
DebugConsole.AddWarning("Cs package active! Cs mods are NOT sandboxed, use it at your own risk!");
|
||||
}
|
||||
|
||||
CsScriptLoader = new CsScriptLoader(this);
|
||||
CsScriptLoader = new CsScriptLoader();
|
||||
CsScriptLoader.SearchFolders();
|
||||
if (CsScriptLoader.HasSources)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user