28 lines
635 B
C#
28 lines
635 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Verse;
|
|
using HarmonyLib;
|
|
using rjw;
|
|
|
|
|
|
namespace RJW_More_Genes
|
|
{
|
|
[StaticConstructorOnStartup]
|
|
internal static class HarmonyInit
|
|
{
|
|
static HarmonyInit()
|
|
{
|
|
Harmony harmony = new Harmony("RJW_More_Genes");
|
|
harmony.PatchAll();
|
|
if (ModsConfig.BiotechActive)
|
|
{
|
|
harmony.Patch(typeof(SexUtility).GetMethod("ProcessSex"), new HarmonyMethod(typeof(PatchProcessSex), "Postfix", null));
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|