Fix unknown component errors and duplicate damageable references (#1778)

This commit is contained in:
DrSmugleaf
2020-08-18 16:41:35 +02:00
committed by GitHub
parent 04bc20c365
commit 8ea9e4cd90
10 changed files with 2 additions and 18 deletions

View File

@@ -17,6 +17,7 @@ namespace Content.Shared.GameObjects.Components.Damage
/// Component that allows attached entities to take damage.
/// This basic version never dies (thus can take an indefinite amount of damage).
/// </summary>
[RegisterComponent]
[ComponentReference(typeof(IDamageableComponent))]
public class DamageableComponent : Component, IDamageableComponent
{