1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2026-02-05 01:42:25 +08:00

LabOpt 0.3.6

This commit is contained in:
2023-09-05 01:24:19 +08:00
parent 42200de729
commit d7943f1751
5 changed files with 48 additions and 17 deletions

View File

@@ -326,4 +326,10 @@ public class LabOptPatch : BaseUnityPlugin
return matcher.InstructionEnumeration();
}
[HarmonyPostfix]
[HarmonyPatch(typeof(LabComponent), nameof(LabComponent.SetEmpty))]
private static void LabComponent_SetEmpty_Postfix(ref LabComponent __instance)
{
LabOptPatchFunctions.SetRootId(ref __instance, 0);
}
}