oh that ain't right

This commit is contained in:
Fesiug 2023-12-15 04:18:31 -05:00
parent 90a4e740f2
commit 3bd3b174c1
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
SWEP.GEN_MagOut = 0 SWEP.GEN_MagOut = 0
SWEP.GEN_MagIn = 0.8 SWEP.GEN_MagIn = 0.8
SWEP.GEN_MagIn_BonusStart = 0.6 SWEP.GEN_MagIn_BonusStart = 0.5
SWEP.GEN_MagIn_BonusEnd = 0.7 SWEP.GEN_MagIn_BonusEnd = 0.55
function SWEP:Reload( hand ) function SWEP:Reload( hand )
if hand == nil then return end -- Needs to be called from the custom ones if hand == nil then return end -- Needs to be called from the custom ones

View File

@ -925,7 +925,7 @@ hook.Add( "HUDPaint", "Benny_HUDPaint", function()
local gump1 = math.Round( r_h*(1-b1) ) local gump1 = math.Round( r_h*(1-b1) )
local gump2 = math.Round( r_h*(1-b2) ) local gump2 = math.Round( r_h*(1-b2) )
surface.SetDrawColor( 255, 100, 100, 100 ) surface.SetDrawColor( 255, 100, 100, 100 )
surface.DrawRect( r_x, r_y+gump2, r_w, gump2 ) surface.DrawRect( r_x, r_y+gump2, r_w, gump1-gump2 )
surface.SetDrawColor( 255, 100, 100 ) surface.SetDrawColor( 255, 100, 100 )
surface.DrawRect( r_x, r_y+gump1, r_w, ss(1) ) surface.DrawRect( r_x, r_y+gump1, r_w, ss(1) )
surface.DrawRect( r_x, r_y+gump2, r_w, ss(1) ) surface.DrawRect( r_x, r_y+gump2, r_w, ss(1) )