From 87e172ff7cb5b2bbc3d05c2817a3d8913accce80 Mon Sep 17 00:00:00 2001 From: MaxDorob Date: Wed, 4 Dec 2024 00:54:52 +0600 Subject: [PATCH] Moved new properties to other properties --- .../CombatExtended/Verbs/Verb_LaunchProjectileCE.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs index e84e1d76aa..ec837daba3 100644 --- a/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs +++ b/Source/CombatExtended/CombatExtended/Verbs/Verb_LaunchProjectileCE.cs @@ -218,6 +218,9 @@ protected LightingTracker LightingTracker } } + public bool MidBurst => numShotsFired > 0; + protected virtual bool LockRotationAndAngle => MidBurst; + #endregion #region Methods @@ -468,8 +471,6 @@ public virtual float GetTargetHeight(LocalTargetInfo target, Thing cover, bool r } return targetHeight; } - public bool MidBurst => numShotsFired > 0; - protected virtual bool LockRotationAndAngle => MidBurst; public void ShiftTarget(ShiftVecReport report, bool calculateMechanicalOnly = false, bool isInstant = false) {