protected void CoverEnter(int coverIndex, E_CoverDirection coverDirection, uLink.NetworkMessageInfo info) { Cover cover = Mission.Instance.GameZone.GetCover(coverIndex); if (cover == null) { Debug.LogWarning("Received CoverEnter RPC but no cover was found at the specified position. This could indicate a position sync problem."); return; } #if !DEADZONE_CLIENT if (Owner.IsServer) { //Only server has the right to ignore the cover enter if (Owner.BlackBoard.DontUpdate) { return; } ServerAnticheat.ReportCoverEnter(Owner.NetworkView.owner, cover, coverDirection, info); Owner.NetworkView.RPC("CoverEnter", uLink.RPCMode.OthersExceptOwner, coverIndex, coverDirection); } #endif Owner.CoverStart(cover, coverDirection); }