Skip to content

Commit 83c6019

Browse files
committed
Fixed slash commands
1 parent 9b5b7e0 commit 83c6019

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SimpleCalc.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function SimpleCalc:OnLoad()
1818
for k, v in pairs(slashCommands) do
1919
_G["SLASH_"..addonName:upper()..k] = "/" .. v
2020
end
21+
SlashCmdList[addonName:upper()] = function(...) self:ParseParameters(...) end
2122

2223
-- Initialize our variables
2324
SimpleCalc_CharVariables = SimpleCalc_CharVariables or {}

0 commit comments

Comments
 (0)