diff --git a/Assets/Mirror/Runtime/NetworkBehaviour.cs b/Assets/Mirror/Runtime/NetworkBehaviour.cs index 56b705e36..3646f56e3 100644 --- a/Assets/Mirror/Runtime/NetworkBehaviour.cs +++ b/Assets/Mirror/Runtime/NetworkBehaviour.cs @@ -59,11 +59,13 @@ public abstract class NetworkBehaviour : MonoBehaviour protected ulong syncVarDirtyBits { get; private set; } ulong syncVarHookGuard; + // USED BY WEAVER to set syncvars in host mode without deadlocking protected bool getSyncVarHookGuard(ulong dirtyBit) { return (syncVarHookGuard & dirtyBit) != 0UL; } + // USED BY WEAVER to set syncvars in host mode without deadlocking protected void setSyncVarHookGuard(ulong dirtyBit, bool value) { if (value)