From 21d3019a2d4f631ee004fbc852b5b5a0e8e619de Mon Sep 17 00:00:00 2001 From: icedream Date: Thu, 23 Apr 2015 22:16:19 +0200 Subject: [PATCH] Oops, it was "Hide", not "Close". --- lua/autorun/client/prophunt_tauntmenu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/autorun/client/prophunt_tauntmenu.lua b/lua/autorun/client/prophunt_tauntmenu.lua index ec418df..6e07da1 100644 --- a/lua/autorun/client/prophunt_tauntmenu.lua +++ b/lua/autorun/client/prophunt_tauntmenu.lua @@ -103,7 +103,7 @@ end hook.Add( "PlayerBindPress", "PlayerBindPressFKeyMenus", function(pl, bind, pressed) if bind == "gm_showspare2" and pressed then if lastMenu ~= nil then - lastMenu:Close() + lastMenu:Hide() end lastMenu = CreateMenu() if lastMenu ~= nil then