forked from kythre/Buildmode-ULX
solved pew pew kills
This commit is contained in:
parent
24254dbf6b
commit
9119e4aad1
@ -230,7 +230,7 @@ hook.Add("PlayerSpawnProp", "kylebuildmodepropspawn", function(y, z)
|
||||
end)
|
||||
|
||||
hook.Add("EntityTakeDamage", "kyleBuildmodeTryTakeDamage", function(y, z)
|
||||
return y.buildmode or z:GetAttacker().buildmode
|
||||
return y.buildmode or z:GetAttacker().buildmode or z:GetInflictor().Owner.buildmode
|
||||
end, HOOK_HIGH)
|
||||
|
||||
hook.Add("PreDrawHalos", "KyleBuildmodehalos", function()
|
||||
|
Loading…
Reference in New Issue
Block a user