Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187)
* Remove IBody, IBodyPart, IMechanism and IMechanismBehavior interfaces * Summary cleanup
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Content.Server.Destructible.Thresholds.Behaviors
|
||||
|
||||
public void Execute(IEntity owner, DestructibleSystem system)
|
||||
{
|
||||
if (owner.TryGetComponent(out IBody? body))
|
||||
if (owner.TryGetComponent(out SharedBodyComponent? body))
|
||||
{
|
||||
body.Gib(_recursive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user