From 480ebac51183fb3224657f2318092710a7db94d3 Mon Sep 17 00:00:00 2001 From: icedream Date: Fri, 24 Apr 2015 21:59:35 +0200 Subject: [PATCH] Fix menu spacer. --- lua/autorun/client/prophunt_tauntmenu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/autorun/client/prophunt_tauntmenu.lua b/lua/autorun/client/prophunt_tauntmenu.lua index 715272b..038aebd 100644 --- a/lua/autorun/client/prophunt_tauntmenu.lua +++ b/lua/autorun/client/prophunt_tauntmenu.lua @@ -61,8 +61,6 @@ local function Apply(menu, taunts) return string.lower(a.key) < string.lower(b.key) end) - menu:AddSpacer() - -- sort categories local categories = {} for key,value in pairs(taunts.categories) do @@ -77,6 +75,8 @@ local function Apply(menu, taunts) Apply(menu:AddSubMenu(item.key), item.value) end + menu:AddSpacer() + -- add sounds to the menu for _, item in pairs(sounds) do menu:AddOption(item.key, function()