private void OnValidate()
{
if (this.m_ServerOnly && this.m_LocalPlayerAuthority)
{
if (LogFilter.logWarn)
{
Debug.LogWarning("Disabling Local Player Authority for " + base.gameObject + " because it is server-only.");
}
this.m_LocalPlayerAuthority = false;
}
this.SetupIDs();
}