BaseCombatEntity target = autoTurret.PeacekeeperMode() ? autoTurret.target : null;
autoTurret.FireAttachedGun(utoTurret.AimOffset(autoTurret.target), autoTurret.aimCone, null, 0.0f);
float delay = (attachedWeapon.isSemiAuto ? (attachedWeapon.repeatDelay * 1.5f) : attachedWeapon.repeatDelay);
delay = attachedWeapon.ScaleRepeatDelay(delay);
autoTurret.nextShotTime = UnityEngine.Time.time + delay;