From 99f188b9445d3aaa1e778a649cf3fa32a4903584 Mon Sep 17 00:00:00 2001 From: Kherae Date: Mon, 25 Nov 2024 04:49:37 -0800 Subject: [PATCH] meh --- stats/effects/fu_weaponeffects/bleeding/bleeding.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stats/effects/fu_weaponeffects/bleeding/bleeding.lua b/stats/effects/fu_weaponeffects/bleeding/bleeding.lua index b5f74919e1f..8db1a8d4198 100644 --- a/stats/effects/fu_weaponeffects/bleeding/bleeding.lua +++ b/stats/effects/fu_weaponeffects/bleeding/bleeding.lua @@ -1,4 +1,5 @@ function init() + self.source=effect.sourceEntity() animator.setParticleEmitterOffsetRegion("healing", mcontroller.boundBox()) animator.setParticleEmitterEmissionRate("healing", config.getParameter("emissionRate", 3)) animator.setParticleEmitterActive("healing", true) @@ -24,7 +25,7 @@ function update(dt) damageType = "IgnoresDef", damage = damageVal, damageSourceKind = "bow", - sourceEntityId = entity.id() + sourceEntityId = self.source }) end end