Make body parts properly use containers for mechanisms (#2290)

This commit is contained in:
DrSmugleaf
2020-10-18 11:20:10 +02:00
committed by GitHub
parent 34e0330187
commit 32138958ce
4 changed files with 19 additions and 19 deletions

View File

@@ -210,7 +210,7 @@ namespace Content.Shared.GameObjects.Components.Body.Part
return SurgeryDataComponent?.CanAttachBodyPart(part) ?? false;
}
public bool CanAddMechanism(IMechanism mechanism)
public virtual bool CanAddMechanism(IMechanism mechanism)
{
DebugTools.AssertNotNull(mechanism);