mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
LabOpt 0.3.6
This commit is contained in:
1 parent
42200de729
commit
d7943f1751
5 files changed
+48
-17
No files matched your search
@@ -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