Fix menu spacer.

master v1.0.1
Icedream 2015-04-24 21:59:35 +02:00
parent 668912c514
commit 480ebac511
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,6 @@ local function Apply(menu, taunts)
return string.lower(a.key) < string.lower(b.key) return string.lower(a.key) < string.lower(b.key)
end) end)
menu:AddSpacer()
-- sort categories -- sort categories
local categories = {} local categories = {}
for key,value in pairs(taunts.categories) do for key,value in pairs(taunts.categories) do
@ -77,6 +75,8 @@ local function Apply(menu, taunts)
Apply(menu:AddSubMenu(item.key), item.value) Apply(menu:AddSubMenu(item.key), item.value)
end end
menu:AddSpacer()
-- add sounds to the menu -- add sounds to the menu
for _, item in pairs(sounds) do for _, item in pairs(sounds) do
menu:AddOption(item.key, function() menu:AddOption(item.key, function()