mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-03 14:59:23 +00:00
[RelativeSync] Fixed execution order of RelativeSyncController & PuppetMaster.ProcessAvatarVisibility, so moving at high speeds with passengers does not disrupt voice or avatar distance hider
This commit is contained in:
parent
063669e8a6
commit
ea5a9eef97
5 changed files with 52 additions and 35 deletions
|
@ -17,10 +17,7 @@ public class RelativeSyncMod : MelonMod
|
|||
|
||||
// Experimental sync hack
|
||||
ApplyPatches(typeof(CVRSpawnablePatches));
|
||||
|
||||
// Experimental no interpolation on Better Better Character Controller
|
||||
ApplyPatches(typeof(BetterBetterCharacterControllerPatches));
|
||||
|
||||
|
||||
// Send relative sync update after network root data update
|
||||
ApplyPatches(typeof(NetworkRootDataUpdatePatches));
|
||||
|
||||
|
@ -31,6 +28,9 @@ public class RelativeSyncMod : MelonMod
|
|||
// Add components if missing (for relative sync markers)
|
||||
ApplyPatches(typeof(CVRSeatPatches));
|
||||
ApplyPatches(typeof(CVRMovementParentPatches));
|
||||
|
||||
// So we run after the client moves the remote player
|
||||
ApplyPatches(typeof(NetIKController_Patches));
|
||||
}
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue