class/seeker: Ignore damage done to ragdolls

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2017-11-24 03:10:50 +01:00
parent 14e32383c4
commit 74d77b5269
@@ -138,6 +138,7 @@ function CLASS:DamageEntity(ent, att, dmg)
ent:GetOwner():TakeDamageInfo(dmg)
self.Player.Data.RandomWeight = self.Player.Data.RandomWeight - 1
elseif (ent:GetClass() == "func_breakable") then
elseif (ent:GetClass() == "prop_ragdoll") then
else
att:TakeDamage(GAMEMODE.Config.Seeker:HealthPenalty(), ent, ent)
end