cleanup: remove TargetingDoll-related code (#20866)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Content.Client.Hands.Systems;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.CombatMode;
|
||||
using Content.Shared.Targeting;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Client.Input;
|
||||
using Robust.Client.Player;
|
||||
@@ -44,11 +43,6 @@ public sealed class CombatModeSystem : SharedCombatModeSystem
|
||||
base.Shutdown();
|
||||
}
|
||||
|
||||
private void OnTargetingZoneChanged(TargetingZone obj)
|
||||
{
|
||||
EntityManager.RaisePredictiveEvent(new CombatModeSystemMessages.SetTargetZoneMessage(obj));
|
||||
}
|
||||
|
||||
public bool IsInCombatMode()
|
||||
{
|
||||
var entity = _playerManager.LocalPlayer?.ControlledEntity;
|
||||
@@ -65,12 +59,6 @@ public sealed class CombatModeSystem : SharedCombatModeSystem
|
||||
UpdateHud(entity);
|
||||
}
|
||||
|
||||
public override void SetActiveZone(EntityUid entity, TargetingZone zone, CombatModeComponent? component = null)
|
||||
{
|
||||
base.SetActiveZone(entity, zone, component);
|
||||
UpdateHud(entity);
|
||||
}
|
||||
|
||||
private void UpdateHud(EntityUid entity)
|
||||
{
|
||||
if (entity != _playerManager.LocalPlayer?.ControlledEntity || !Timing.IsFirstTimePredicted)
|
||||
|
||||
Reference in New Issue
Block a user