Trigger Refactor (#39034)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Content.Shared.Damage.Components;
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Actions.Components;
|
||||
using Content.Shared.Alert;
|
||||
using Content.Shared.Coordinates;
|
||||
@@ -9,6 +8,7 @@ using Content.Shared.Mobs;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Content.Shared.Slippery;
|
||||
using Content.Shared.Toggleable;
|
||||
using Content.Shared.Trigger.Components.Effects;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Physics.Components;
|
||||
using Robust.Shared.Physics.Events;
|
||||
@@ -127,7 +127,7 @@ public abstract class SharedRootableSystem : EntitySystem
|
||||
if (!ent.Comp.Rooted)
|
||||
return;
|
||||
|
||||
if (args.SlipCausingEntity != null && HasComp<DamageUserOnTriggerComponent>(args.SlipCausingEntity))
|
||||
if (args.SlipCausingEntity != null && HasComp<DamageOnTriggerComponent>(args.SlipCausingEntity))
|
||||
return;
|
||||
|
||||
args.NoSlip = true;
|
||||
|
||||
Reference in New Issue
Block a user