Added settings that allow you to force turn on CSharp, treat forced mods as normal and allow for the workshop lua setup to be the preferred one

This commit is contained in:
EvilFactory
2022-12-29 13:02:25 -03:00
parent 8fdf2156dc
commit c665d3e9c7
5 changed files with 153 additions and 76 deletions
@@ -55,7 +55,7 @@ namespace Barotrauma
LuaCsLogger.LogMessage($"Added {cp.Name} {cp.ModVersion} to Cs compilation. (Standard)");
return true;
}
else if (rtValue == RunType.Forced)
else if (rtValue == RunType.Forced && (isEnabled || !GameMain.LuaCs.Config.TreatForcedModsAsNormal))
{
LuaCsLogger.LogMessage($"Added {cp.Name} {cp.ModVersion} to Cs compilation. (Forced)");
return true;