mirror of
https://github.com/MeteorTheLizard/Meteors-Multikill-Announcer.git
synced 2025-03-04 03:13:17 -05:00
Bugfix
Fixed a bug that would enable all entities to receive killcounts and announcements
This commit is contained in:
parent
c69b132719
commit
6ed19181c0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user