mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[OriginShift] other shit
This commit is contained in:
parent
373a60a9d9
commit
5f7eed65e8
1 changed files with 6 additions and 6 deletions
|
@ -216,12 +216,12 @@ internal static class CVRSyncHelperPatches
|
|||
|
||||
internal static class CVRObjectSyncPatches
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(CVRObjectSync), nameof(CVRObjectSync.Start))]
|
||||
private static void Postfix_CVRObjectSync_Start(ref CVRObjectSync __instance)
|
||||
{
|
||||
__instance.gameObject.AddComponentIfMissing<OriginShiftObjectSyncReceiver>();
|
||||
}
|
||||
// [HarmonyPostfix]
|
||||
// [HarmonyPatch(typeof(CVRObjectSync), nameof(CVRObjectSync.Start))]
|
||||
// private static void Postfix_CVRObjectSync_Start(ref CVRObjectSync __instance)
|
||||
// {
|
||||
// __instance.gameObject.AddComponentIfMissing<OriginShiftObjectSyncReceiver>(); // todo: investigate if this is needed
|
||||
// }
|
||||
|
||||
[HarmonyPrefix] // inbound object sync
|
||||
[HarmonyPatch(typeof(CVRObjectSync), nameof(CVRObjectSync.receiveNetworkData))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue