mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
cleanup
This commit is contained in:
parent
3b4f564ad8
commit
819a00b27b
2 changed files with 116 additions and 118 deletions
|
@ -13,7 +13,7 @@ internal class HarmonyPatches
|
|||
[HarmonyPatch(typeof(PuppetMaster), "Start")]
|
||||
private static void Postfix_PuppetMaster_Start(ref PuppetMaster __instance)
|
||||
{
|
||||
AASBufferHelper externalBuffer = __instance.AddComponentIfMissing<AASBufferHelper>();
|
||||
__instance.AddComponentIfMissing<AASBufferHelper>();
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
|
@ -63,7 +63,6 @@ internal class HarmonyPatches
|
|||
private static bool Prefix_PlayerSetup_SendAdvancedAvatarSettings(ref PlayerSetup __instance)
|
||||
{
|
||||
//dont sync wrong settings to remote users
|
||||
if (__instance.avatarIsLoading) return false;
|
||||
return true;
|
||||
return !__instance.avatarIsLoading;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue