mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-01 22:09:23 +00:00
cleanup
This commit is contained in:
parent
3b4f564ad8
commit
819a00b27b
2 changed files with 116 additions and 118 deletions
|
@ -2,8 +2,8 @@
|
|||
using ABI_RC.Core.Player;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NAK.Melons.AASBufferFix
|
||||
{
|
||||
namespace NAK.Melons.AASBufferFix;
|
||||
|
||||
public class AASBufferHelper : MonoBehaviour
|
||||
{
|
||||
///public bool DebuggingFlag = false;
|
||||
|
@ -131,4 +131,3 @@ namespace NAK.Melons.AASBufferFix
|
|||
/// AASBufferFix.Logger.Msg(message);
|
||||
///}
|
||||
}
|
||||
}
|
|
@ -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