Remove AlertType and AlertCategory (#27933)
This commit is contained in:
@@ -431,7 +431,7 @@ public sealed class MobThresholdSystem : EntitySystem
|
||||
private void MobThresholdShutdown(EntityUid target, MobThresholdsComponent component, ComponentShutdown args)
|
||||
{
|
||||
if (component.TriggersAlerts)
|
||||
_alerts.ClearAlertCategory(target, AlertCategory.Health);
|
||||
_alerts.ClearAlertCategory(target, component.HealthAlertCategory);
|
||||
}
|
||||
|
||||
private void OnUpdateMobState(EntityUid target, MobThresholdsComponent component, ref UpdateMobStateEvent args)
|
||||
|
||||
Reference in New Issue
Block a user