Remove AlertType and AlertCategory (#27933)
This commit is contained in:
@@ -7,7 +7,6 @@ using Content.Shared.Interaction.Events;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Throwing;
|
||||
using Content.Shared.Weapons.Ranged.Events;
|
||||
using Content.Shared.Weapons.Ranged.Systems;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
namespace Content.Shared.CombatMode.Pacification;
|
||||
@@ -109,7 +108,7 @@ public sealed class PacificationSystem : EntitySystem
|
||||
_actionsSystem.SetEnabled(combatMode.CombatToggleActionEntity, false);
|
||||
}
|
||||
|
||||
_alertsSystem.ShowAlert(uid, AlertType.Pacified);
|
||||
_alertsSystem.ShowAlert(uid, component.PacifiedAlert);
|
||||
}
|
||||
|
||||
private void OnShutdown(EntityUid uid, PacifiedComponent component, ComponentShutdown args)
|
||||
@@ -121,7 +120,7 @@ public sealed class PacificationSystem : EntitySystem
|
||||
_combatSystem.SetCanDisarm(uid, true, combatMode);
|
||||
|
||||
_actionsSystem.SetEnabled(combatMode.CombatToggleActionEntity, true);
|
||||
_alertsSystem.ClearAlert(uid, AlertType.Pacified);
|
||||
_alertsSystem.ClearAlert(uid, component.PacifiedAlert);
|
||||
}
|
||||
|
||||
private void OnBeforeThrow(Entity<PacifiedComponent> ent, ref BeforeThrowEvent args)
|
||||
|
||||
Reference in New Issue
Block a user