Skip to content

Commit

Permalink
Comms
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonsant committed Jan 1, 2025
1 parent d4af53e commit 86acb52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Content.Shared/CombatMode/SharedCombatModeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private void OnShutdown(EntityUid uid, CombatModeComponent component, ComponentS
{
_actionsSystem.RemoveAction(uid, component.CombatToggleActionEntity);

SetMouseRotatorComponents(uid, false, component);
SetMouseRotatorComponents(uid, false, component); // Corvax-Next-NoScope-Fix
}

private void OnActionPerform(EntityUid uid, CombatModeComponent component, ToggleCombatActionEvent args)
Expand Down Expand Up @@ -87,10 +87,10 @@ public virtual void SetInCombatMode(EntityUid entity, bool value, CombatModeComp
if (!component.ToggleMouseRotator || IsNpc(entity) && !_mind.TryGetMind(entity, out _, out _))
return;

SetMouseRotatorComponents(entity, value, component);
SetMouseRotatorComponents(entity, value, component); // Corvax-Next-NoScope-Fix
}

private void SetMouseRotatorComponents(EntityUid uid, bool value, CombatModeComponent? comp = null)
private void SetMouseRotatorComponents(EntityUid uid, bool value, CombatModeComponent? comp = null) // Corvax-Next-NoScope-Fix
{
if (value)
{
Expand Down

0 comments on commit 86acb52

Please sign in to comment.