Fix mechanism events not being called properly, add test (#2279)
* Add mechanism events when added/removed to/from body/parts * Change old usages * Add TODO * Remove BodyExtensions and IHasBody * Remove unnecessary extensions and fix wrong event call in mechanism behavior component * Complete test and fix event calls
This commit is contained in:
@@ -7,7 +7,7 @@ using Robust.Shared.Map;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Body.Part
|
||||
{
|
||||
public interface IBodyPart : IHasBody, IBodyPartContainer
|
||||
public interface IBodyPart : IComponent, IBodyPartContainer
|
||||
{
|
||||
new IBody? Body { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user