LabOpt 0.3.6

This commit is contained in:
soarqin committed 2023-09-05 01:24:19 +08:00
1 parent 42200de729
commit d7943f1751
5 files changed
+48 -17

No files matched your search

+6
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);
}
}