diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-11-02 13:21:25 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-11-02 13:21:25 -0400 |
| commit | 81832da4f9a59fc271ce8982b948ec6688f43983 (patch) | |
| tree | 1e5ca535da860c8312d98012729dc820e8a30d6f /gamemode/client/cl_weaponswitch.lua | |
| parent | a793150e96506a3043d792e29627b633499aa6a3 (diff) | |
| download | artery-81832da4f9a59fc271ce8982b948ec6688f43983.tar.gz artery-81832da4f9a59fc271ce8982b948ec6688f43983.tar.bz2 artery-81832da4f9a59fc271ce8982b948ec6688f43983.zip | |
Moved code to prevent weapon switching
Moved code that prevents weaponswitching into hand.lua
Diffstat (limited to 'gamemode/client/cl_weaponswitch.lua')
| -rw-r--r-- | gamemode/client/cl_weaponswitch.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gamemode/client/cl_weaponswitch.lua b/gamemode/client/cl_weaponswitch.lua deleted file mode 100644 index 2f681c9..0000000 --- a/gamemode/client/cl_weaponswitch.lua +++ /dev/null @@ -1,9 +0,0 @@ -local gm = GM or GAMEMODE - -function gm:PlayerSwitchWeapon( ply, oldWeapon, newWeapon ) - return false -end - -hook.Add( "HUDShouldDraw", "HideWeaponSelHUD", function( name ) - if name == "CHudWeaponSelection" then return false end -end ) |
