From 98e0462e4f6b13ff26af5211409352d45dd9453e Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 8 Jan 2017 22:28:08 -0500 Subject: Add a ton of icons, more work on refactoring --- gamemode/client/cl_weaponswitch.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gamemode/client/cl_weaponswitch.lua') diff --git a/gamemode/client/cl_weaponswitch.lua b/gamemode/client/cl_weaponswitch.lua index f7edcfc..085a0b3 100644 --- a/gamemode/client/cl_weaponswitch.lua +++ b/gamemode/client/cl_weaponswitch.lua @@ -1,4 +1,6 @@ -function GM:PlayerSwitchWeapon( ply, oldWeapon, newWeapon ) +local gm = GM or GAMEMODE + +function gm:PlayerSwitchWeapon( ply, oldWeapon, newWeapon ) return false end -- cgit v1.2.3-70-g09d2