update anims, inflict huge damage to insure player's death

This commit is contained in:
Jonny_Bro (Nikita) 2024-11-07 17:03:50 +05:00
parent 7fc975dc42
commit 148352596f
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8
8 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ function ENT:BRCollisionFunc(ent)
local dmginfo = DamageInfo()
dmginfo:SetAttacker(self)
dmginfo:SetDamage(1000)
dmginfo:SetDamage(math.huge)
dmginfo:SetDamageType(DMG_DISSOLVE)
ent:TakeDamageInfo(dmginfo)
ent:EmitSound("bigspark" .. math.random(1, 2) .. ".wav")

View file

@ -250,7 +250,7 @@ if SERVER then
if speed < 800 and CurTime() < ply:GetSafetyRollKeyTime() and not ply:GetCrouchJump() and not ply:Crouching() then
return 0
else
return 1000
return math.huge
end
end

View file

@ -1,4 +1,4 @@
VERSION_GLOBAL = "1.0.17"
VERSION_GLOBAL = "1.0.18"
VERSION_LATEST = ""
VERSION_CHECKED = false

View file

@ -1 +1 @@
1.0.17
1.0.18