parent
668912c514
commit
480ebac511
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue