diff --git a/gamemodes/benny/entities/weapons/benny/sh_inv.lua b/gamemodes/benny/entities/weapons/benny/sh_inv.lua index 01fc36f..6130e60 100644 --- a/gamemodes/benny/entities/weapons/benny/sh_inv.lua +++ b/gamemodes/benny/entities/weapons/benny/sh_inv.lua @@ -79,7 +79,6 @@ function SWEP:BDeploy( hand, id ) assert( item, "That item doesn't exist. " .. tostring(item) ) - print(debug.Trace()) self:D_SetID( hand, id ) if item.Loaded then local mid = inv[ item.Loaded ] diff --git a/gamemodes/benny/entities/weapons/benny/shared.lua b/gamemodes/benny/entities/weapons/benny/shared.lua index 58c243b..7310964 100644 --- a/gamemodes/benny/entities/weapons/benny/shared.lua +++ b/gamemodes/benny/entities/weapons/benny/shared.lua @@ -118,7 +118,6 @@ function SWEP:Reload() end local mid = self:D_GetMagID( hand ) - assert( mid == "" or inv[mid], "That magazine doesn't exist." ) if mid != "" then B_Sound( self, wep_class.Sound_MagOut ) @@ -135,14 +134,13 @@ function SWEP:Reload() local maglist = p:INV_FindMag( "mag_" .. wep_table.Class ) PrintTable( maglist ) local mag = maglist[1] - -- print(hand, i, mag, wep_class.Name) if mag then wep_table.Loaded = mag self:D_SetMagID( hand, mag ) self:D_SetClip( hand, inv[mag].Ammo ) - -- B_Sound( self, wep_class.Sound_MagIn ) + B_Sound( self, wep_class.Sound_MagIn ) else - -- B_Sound( self, "Common.NoAmmo" ) + B_Sound( self, "Common.NoAmmo" ) end end self:TPReload()