From 10ed1a54523fdd5bcddfbccf44dd9c0a15ab8357 Mon Sep 17 00:00:00 2001 From: Scott Date: Sat, 21 May 2016 17:43:47 -0400 Subject: Fixed removing plants bug --- gamemode/client/cl_quickmenu.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gamemode/client') diff --git a/gamemode/client/cl_quickmenu.lua b/gamemode/client/cl_quickmenu.lua index c56c675..d2c1961 100644 --- a/gamemode/client/cl_quickmenu.lua +++ b/gamemode/client/cl_quickmenu.lua @@ -10,7 +10,9 @@ function GM:OnContextMenuOpen() -- Derma Menu self.Think = function() + if !cMenuOpen then return end + //print(LocalPlayer():GetEyeTrace().Entity:GetClass()) if (input.IsMouseDown(MOUSE_RIGHT)) then local tr = LocalPlayer():GetEyeTrace().Entity -- cgit v1.2.3-70-g09d2