1
0
mirror of https://github.com/MeteorTheLizard/Meteors-Multikill-Announcer.git synced 2025-03-04 03:13:17 -05:00
Fixed a bug that would enable all entities to receive killcounts and announcements
This commit is contained in:
MeteorTheLizard 2020-08-25 15:31:13 +02:00
parent c69b132719
commit 6ed19181c0

View File

@ -145,6 +145,8 @@ if SERVER then
local Attacker = damageInfo:GetAttacker()
local Inflictor = IsValid(damageInfo:GetInflictor()) and damageInfo:GetInflictor() or Attacker
if not IsValid(Attacker) or not Attacker:IsPlayer() then return end -- Props should not get kill counts!
f_ALogic(Ent,Attacker,Inflictor)
end
end