Beispiel #1
0
        static void Postfix(MissionAgentSpawnLogic __instance, ref int ____battleSize)
        {
            if (BannerlordTweaksSettings.Instance is { } settings&& settings.BattleSize > 0)
            {
                ____battleSize = settings.BattleSize;
                DebugHelpers.ColorGreenMessage("Max Battle Size Modified to: " + settings.BattleSize);
            }

            return;
        }