Browse Source

Bugfix: missed a variable cleanup

pull/3/head
xanthics 3 years ago
parent
commit
2917a2db9a
  1. 3
      TradeSkillMaster_Crafting/Modules/CraftingGUI.lua

3
TradeSkillMaster_Crafting/Modules/CraftingGUI.lua

@ -275,6 +275,7 @@ function GUI:EventHandler(event, ...)
--GUI:UpdateQueue() --GUI:UpdateQueue()
end end
end end
-- no longer casting a spell so discard spellID
TSM.currentspell = nil TSM.currentspell = nil
-- TSMAPI:CreateTimeDelay("craftingQueueUpdateThrottle", 0.2, GUI.UpdateQueue) -- TSMAPI:CreateTimeDelay("craftingQueueUpdateThrottle", 0.2, GUI.UpdateQueue)
elseif event == "UNIT_SPELLCAST_INTERRUPTED" or event == "UNIT_SPELLCAST_FAILED" or event == "UNIT_SPELLCAST_FAILED_QUIET" then elseif event == "UNIT_SPELLCAST_INTERRUPTED" or event == "UNIT_SPELLCAST_FAILED" or event == "UNIT_SPELLCAST_FAILED_QUIET" then
@ -289,6 +290,8 @@ function GUI:EventHandler(event, ...)
GUI.isCrafting.quantity = 0 GUI.isCrafting.quantity = 0
TSMAPI:CreateTimeDelay("craftingQueueUpdateThrottle", 0.2, GUI.UpdateQueue) TSMAPI:CreateTimeDelay("craftingQueueUpdateThrottle", 0.2, GUI.UpdateQueue)
end end
-- no longer casting a spell so discard spellID
TSM.currentspell = nil
end end
end end
end end

Loading…
Cancel
Save