mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
[OriginShift] Nuke OriginShiftSpawnableReceiver
This commit is contained in:
parent
512ffe38b8
commit
373a60a9d9
3 changed files with 3 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue