|
|
@ -323,8 +323,8 @@ local pages = { |
|
|
|
} |
|
|
|
} |
|
|
|
menu.charScroll = {} |
|
|
|
menu.charScroll = {} |
|
|
|
menu.charScroll.del = function( clist ) |
|
|
|
menu.charScroll.del = function( clist ) |
|
|
|
for k, v in pairs( clist.panels ) do |
|
|
|
for n, panel in pairs( clist.panels ) do |
|
|
|
v:Remove() |
|
|
|
panel:Remove() |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
menu.charScroll.add = function( chars, clist ) |
|
|
|
menu.charScroll.add = function( chars, clist ) |
|
|
@ -393,6 +393,12 @@ menu.charScroll.add = function( chars, clist ) |
|
|
|
return clist.panels |
|
|
|
return clist.panels |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
menu.charScroll.replace = function( clist, chars ) |
|
|
|
|
|
|
|
menu.charScroll.del(clist) |
|
|
|
|
|
|
|
local panels = menu.charScroll.add( chars, clist ) |
|
|
|
|
|
|
|
return panels |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function menu.open( dt ) |
|
|
|
function menu.open( dt ) |
|
|
|
Quantum.Client.IsInMenu = true -- hide the hud |
|
|
|
Quantum.Client.IsInMenu = true -- hide the hud |
|
|
|
Quantum.Client.Chars = dt.cont |
|
|
|
Quantum.Client.Chars = dt.cont |
|
|
|