Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
class/seeker: Ignore damage done to ragdolls
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Nov 24, 2017
1 parent 14e3238 commit 74d77b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74d77b5

Please sign in to comment.