Oops, it was "Hide", not "Close".
parent
8a5b486441
commit
21d3019a2d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue