From b56129d6b92025430f799b1150754201f08b4bb8 Mon Sep 17 00:00:00 2001 From: RedFoxIV <38788538+RedFoxIV@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:29:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BA=D1=80=D0=B8=D1=87=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Shared/CombatMode/SharedCombatModeSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/CombatMode/SharedCombatModeSystem.cs b/Content.Shared/CombatMode/SharedCombatModeSystem.cs index 26cf79de3c..bb2e93d734 100644 --- a/Content.Shared/CombatMode/SharedCombatModeSystem.cs +++ b/Content.Shared/CombatMode/SharedCombatModeSystem.cs @@ -93,7 +93,7 @@ private void SetMouseRotatorComponents(EntityUid uid, bool value) if (value) { var rot = EnsureComp(uid); - if (TryComp(uid, out var comp) && comp.smoothRotation) // no idea under which (intended) circumstances this can fail (if any), so i'll avoid Comp<>(). + if (TryComp(uid, out var comp) && comp.SmoothRotation) // no idea under which (intended) circumstances this can fail (if any), so i'll avoid Comp<>(). { rot.AngleTolerance = Angle.FromDegrees(1); // arbitrary rot.Simple4DirMode = false;