Gets rid of all ComponentManager usages. (#4707)
This commit is contained in:
committed by
GitHub
parent
7953e5b962
commit
0be5ff829b
@@ -132,7 +132,7 @@ namespace Content.Server.Weapon.Melee
|
||||
if (entity.IsInContainer() || entity == args.User)
|
||||
continue;
|
||||
|
||||
if (ComponentManager.HasComponent<DamageableComponent>(entity.Uid))
|
||||
if (EntityManager.HasComponent<DamageableComponent>(entity.Uid))
|
||||
{
|
||||
hitEntities.Add(entity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user