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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user