Inline HasComponent entirely
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Content.Server.Chemistry.Components
|
||||
if (Inception != null)
|
||||
return;
|
||||
|
||||
if (Owner.HasComponent<SolutionAreaEffectInceptionComponent>())
|
||||
if (IoCManager.Resolve<IEntityManager>().HasComponent<SolutionAreaEffectInceptionComponent>(Owner.Uid))
|
||||
return;
|
||||
|
||||
Amount = amount;
|
||||
|
||||
Reference in New Issue
Block a user