This commit is contained in:
CGFighter
2022-06-15 21:31:35 +03:00
parent e89eb45ccc
commit 7febeef817
9 changed files with 108 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ namespace ResearchWhatever
{
//[HarmonyPatch(typeof(StaticConstructorOnStartupUtility), "CallAll")]
[HarmonyPatch]
static class StaticConstructorOnStartupUtility_CallAll_ResearchWhateverPatch
public static class StaticConstructorOnStartupUtility_CallAll_ResearchWhateverPatch
{
internal static MethodBase TargetMethod()
{
@@ -29,7 +29,7 @@ namespace ResearchWhatever
return LCallAll;
}
//
static void Postfix()
public static void Postfix()
{
List<ThingDef> list = new List<ThingDef>(
from x in DefDatabase<ThingDef>.AllDefsListForReading