From 449bd8e2dbbc969ee45dbd281f4616732ca34e8c Mon Sep 17 00:00:00 2001 From: icedream Date: Thu, 23 Apr 2015 22:22:32 +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 0b5d562..6a6dcfe 100644 --- a/lua/autorun/client/prophunt_tauntmenu.lua +++ b/lua/autorun/client/prophunt_tauntmenu.lua @@ -59,6 +59,8 @@ 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 @@ -79,8 +81,6 @@ local function Apply(menu, taunts) PlayTaunt(item.value) end) end - - menu:AddSpacer() end local function CreateMenu()