[OriginShift] Nuke OriginShiftSpawnableReceiver

This commit is contained in:
NotAKidoS 2024-06-18 16:14:41 -05:00
parent 512ffe38b8
commit 373a60a9d9
3 changed files with 3 additions and 19 deletions

View file

@ -63,7 +63,7 @@ internal static class CVRSpawnablePatches
[HarmonyPatch(typeof(CVRSpawnable), nameof(CVRSpawnable.Start))]
private static void Postfix_CVRSpawnable_Start(ref CVRSpawnable __instance)
{
__instance.AddComponentIfMissing<OriginShiftSpawnableReceiver>();
//__instance.AddComponentIfMissing<OriginShiftSpawnableReceiver>(); //todo: investigate if this is needed
// test adding to the wrapper of the spawnable
Transform wrapper = __instance.transform.parent;