Skip to content

Commit 3cf796f

Browse files
committed
Minor code cleanup
1 parent 9396866 commit 3cf796f

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

modules/autoPurchaseGenericTalents.lua

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ function Module:GetOptions(defaultOptionsTable, db)
133133
args = {
134134
loading = {
135135
type = 'description',
136-
name = L['Loading...'] ..
137-
'\n' .. L['You have not unlocked the Skyriding system on this character yet.'],
136+
name = L['Loading...'] .. '\n' .. L['You have not unlocked the Skyriding system on this character yet.'],
138137
order = increment(),
139138
hidden = isSkyridingLoaded,
140139
},
@@ -183,14 +182,11 @@ function Module:GetOptions(defaultOptionsTable, db)
183182
type = 'select',
184183
style = 'radio',
185184
name = L['Auto Surge Choice'],
186-
desc =
187-
L['Automatically pick Whirling Surge/Lightning Surge the first time you log in on a character.'],
185+
desc = L['Automatically pick Whirling Surge/Lightning Surge the first time you log in on a character.'],
188186
values = function()
189187
return {
190-
[CHOICE_NODE_OPTION_1] = StripHyperlinks(self:GetSpellLinkFromEntryID(SURGE_ENTRY_IDS
191-
[CHOICE_NODE_OPTION_1]) or 'Whirling Surge'),
192-
[CHOICE_NODE_OPTION_2] = StripHyperlinks(self:GetSpellLinkFromEntryID(SURGE_ENTRY_IDS
193-
[CHOICE_NODE_OPTION_2]) or 'Lightning Surge'),
188+
[CHOICE_NODE_OPTION_1] = StripHyperlinks(self:GetSpellLinkFromEntryID(SURGE_ENTRY_IDS[CHOICE_NODE_OPTION_1]) or 'Whirling Surge'),
189+
[CHOICE_NODE_OPTION_2] = StripHyperlinks(self:GetSpellLinkFromEntryID(SURGE_ENTRY_IDS[CHOICE_NODE_OPTION_2]) or 'Lightning Surge'),
194190
[CHOICE_NODE_NOT_SET] = L['Do Nothing'],
195191
};
196192
end,
@@ -219,8 +215,7 @@ function Module:GetOptions(defaultOptionsTable, db)
219215
args = {
220216
loading = {
221217
type = 'description',
222-
name = L['Loading...'] ..
223-
'\n' .. L['You have not unlocked the Horrific Visions system on this character yet.'],
218+
name = L['Loading...'] .. '\n' .. L['You have not unlocked the Horrific Visions system on this character yet.'],
224219
order = increment(),
225220
hidden = isHorrificVisionsLoaded,
226221
},

0 commit comments

Comments
 (0)