Temporary flashbang cook fix
This commit is contained in:
parent
6567777bcc
commit
8f6a2976d2
|
@ -924,6 +924,8 @@ do -- Grenades, nothing here is guaranteed.
|
||||||
if self:GetGrenadeDown() then
|
if self:GetGrenadeDown() then
|
||||||
if !p:KeyDown( IN_ATTACK ) or ( CurTime() >= (self:GetGrenadeDownStart() + class.GrenadeFuse) ) then
|
if !p:KeyDown( IN_ATTACK ) or ( CurTime() >= (self:GetGrenadeDownStart() + class.GrenadeFuse) ) then
|
||||||
self:SetGrenadeDown( false )
|
self:SetGrenadeDown( false )
|
||||||
|
-- TEMP: Do this right!
|
||||||
|
if !class.GrenadeCharge then self:SetGrenadeDownStart( CurTime() ) end
|
||||||
self:TPFire()
|
self:TPFire()
|
||||||
if SERVER then GrenadeThrow( self, data ) end
|
if SERVER then GrenadeThrow( self, data ) end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue