aboutsummaryrefslogtreecommitdiff
path: root/gamemode/client/cl_weaponswitch.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-10-29 17:51:13 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-10-29 17:51:13 -0400
commit79c1c484eab6fbf36a69d155a324540887e38880 (patch)
tree87f4e64fcc4331ab304e65a531c28b9802e69784 /gamemode/client/cl_weaponswitch.lua
parent78e40d9fd55b6ba23db4f459e2c7e9ae2109cf5a (diff)
downloadartery-79c1c484eab6fbf36a69d155a324540887e38880.tar.gz
artery-79c1c484eab6fbf36a69d155a324540887e38880.tar.bz2
artery-79c1c484eab6fbf36a69d155a324540887e38880.zip
Got shops working
Diffstat (limited to 'gamemode/client/cl_weaponswitch.lua')
-rw-r--r--gamemode/client/cl_weaponswitch.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/gamemode/client/cl_weaponswitch.lua b/gamemode/client/cl_weaponswitch.lua
index 5aaed87..f7edcfc 100644
--- a/gamemode/client/cl_weaponswitch.lua
+++ b/gamemode/client/cl_weaponswitch.lua
@@ -1,3 +1,7 @@
function GM:PlayerSwitchWeapon( ply, oldWeapon, newWeapon )
return false
end
+
+hook.Add( "HUDShouldDraw", "HideWeaponSelHUD", function( name )
+ if name == "CHudWeaponSelection" then return false end
+end )