private void OnTurretModeToggle(AutoTurret turret) { if (CheckTurret(turret) == null) { return; } turret.SetPeacekeepermode(!turret.PeacekeeperMode()); }