Skip to content

Commit 9342fbb

Browse files
committed
Fix LuaLint shadowing in SelfBot wait buttons
1 parent ce871ad commit 9342fbb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/MultiBotEvery.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ MultiBot.addEvery = function(pFrame, pCombat, pNormal)
270270
MultiBot.OnOffSelfBotStrategy(pButton, "co +focus,?", "co -focus,?")
271271
end
272272

273-
local function addSelfWaitButton(name, x, y, tip, value)
274-
local button = selfCombatFrame.addButton(name, x, y, "Spell_Holy_BorrowedTime", tip)
273+
local function addSelfWaitButton(name, posX, posY, tip, value)
274+
local button = selfCombatFrame.addButton(name, posX, posY, "Spell_Holy_BorrowedTime", tip)
275275
button.doLeft = function()
276276
runEverySelfAction("WAIT_ATTACK_TIME", tostring(value))
277277
end

0 commit comments

Comments
 (0)