mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- added the ability to duplicate an existing custom bar
This commit is contained in:
@ -53,6 +53,16 @@ function IceCustomMana.prototype:GetOptions()
|
||||
order = 20.1,
|
||||
}
|
||||
|
||||
opts["duplicateme"] = {
|
||||
type = 'execute',
|
||||
name = 'Duplicate me',
|
||||
desc = 'Creates a new module of this same type and with all the same settings.',
|
||||
func = function()
|
||||
IceHUD:CreateCustomModuleAndNotify(self.moduleSettings.customBarType, self.moduleSettings)
|
||||
end,
|
||||
order = 20.2,
|
||||
}
|
||||
|
||||
opts["name"] = {
|
||||
type = 'input',
|
||||
name = 'Bar name',
|
||||
|
Reference in New Issue
Block a user