solved pew pew kills

This commit is contained in:
Kyle 2018-08-30 01:39:31 -05:00
parent 24254dbf6b
commit 9119e4aad1

View File

@ -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()