diff Modules/Currency.lua @ 131:15a7f27b11e6 v7.3.2-20111027

- Fixed an infinite loop occurring with Artifact XP calculations on fresh 110 toons - Fixed combat state response - Mask out redundant cheevos (Cutting Edge/AotC and end boss)
author Nenue
date Mon, 20 Nov 2017 12:01:52 -0500
parents 799ec6dce9c3
children 86621c60512b
line wrap: on
line diff
--- a/Modules/Currency.lua	Sun Oct 22 18:29:09 2017 -0400
+++ b/Modules/Currency.lua	Mon Nov 20 12:01:52 2017 -0500
@@ -134,15 +134,18 @@
       end
     end
   end
+
+  self:RegisterEvent('PLAYER_REGEN_ENABLED')
+  self:RegisterEvent('PLAYER_REGEN_DISABLED')
 end
 
 function module:OnEvent (event, arg)
-  print(self:GetName(), 'OnEvent', event, arg)
+  --print(self:GetName(), 'OnEvent', event, arg)
   self:Update()
 end
 
 function module:Update()
-  print(self:GetName(), 'Reanchor()')
+  --print(self:GetName(), 'Reanchor()')
   if InCombatLockdown() then
     self:SetShown(false)
     return