ActSystem and Destruction Threshold Behaviors use EntityUid.
This commit is contained in:
@@ -13,9 +13,9 @@ namespace Content.Server.Destructible.Thresholds.Behaviors
|
||||
[DataDefinition]
|
||||
public class ExplodeBehavior : IThresholdBehavior
|
||||
{
|
||||
public void Execute(IEntity owner, DestructibleSystem system)
|
||||
public void Execute(EntityUid owner, DestructibleSystem system, IEntityManager entityManager)
|
||||
{
|
||||
owner.SpawnExplosion();
|
||||
owner.SpawnExplosion(entityManager:entityManager);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user