private void OnDestroy() { if (this.m_IsServer && NetworkServer.active) { NetworkServer.Destroy(base.gameObject); } }