GraczBezNicku / TKInfo

1 stars 0 forks source link

[BUG] Grenade kills after death aren't logged #2

Open Mikihero opened 1 year ago

Mikihero commented 1 year ago

If you throw a grenade (for example in an elevator) and then someone kills you before it explodes, any kills made by the grenade won't be logged.

GraczBezNicku commented 1 year ago

TKInfo checks for ev.Attacker to determine if something was a teamkill. I currently don't have time to check this, but it might be an EXILED / base game issue with tracking who threw the grenade after they've died.

Mikihero commented 1 year ago

I'm pretty sure it's this line that's causing the problem https://github.com/GraczBezNicku/TKInfo/blob/54596490910518410c1e84cff9857fab31252ea1/EventsHandler.cs#L42