mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
patch IsLockedByProbeSnapshot
This commit is contained in:
parent
e49dd307f5
commit
e069416b89
@ -45,4 +45,12 @@ public class QuantumObjectPatches : QSBPatch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(nameof(QuantumObject.IsLockedByProbeSnapshot))]
|
||||
public static bool IsLockedByProbeSnapshot(QuantumObject __instance, ref bool __result)
|
||||
{
|
||||
__result = __instance._visibleInProbeSnapshot;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user