Skip to content

Commit d62c297

Browse files
momoyawnmomoyawn
andauthored
fixes holyfire igniteonmeleehit ent->entity (Trauma-Station#1224)
Co-authored-by: momoyawn <jackraccoon21@gmail.com>
1 parent c516891 commit d62c297

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Content.Trauma.Server/Chaplain/HolyFlammableSystem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ private void OnMeleeHit(Entity<HolyIgniteOnMeleeHitComponent> ent, ref MeleeHitE
8888
{
8989
foreach (var entity in args.HitEntities)
9090
{
91-
if (!HasComp<ShouldTakeHolyComponent>(ent))
91+
if (!HasComp<ShouldTakeHolyComponent>(entity))
9292
continue;
9393

94-
var flammable = EnsureComp<HolyFlammableComponent>(ent);
94+
var flammable = EnsureComp<HolyFlammableComponent>(entity);
9595

9696
AdjustFireStacks(entity, ent.Comp.FireStacks, flammable, true);
9797
}

0 commit comments

Comments
 (0)