Quantcast

Fix also a lua error with AP items in the ArmoryModule

Merathilis [04-09-17 - 07:00]
Fix also a lua error with AP items in the ArmoryModule
Filename
ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
diff --git a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
index 8696cb8..d5dc267 100644
--- a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
+++ b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua
@@ -1354,7 +1354,7 @@ do --<< Artifact Monitor >>
 													if digit1 and digit2 then
 														ap = T.tonumber(T.format("%s.%s", digit1, digit2)) * 1e6 --Multiply by one million
 													else
-														ap = T.tonumber(digit1) * 1e6 --Multiply by one million
+														ap = T.tonumber(value) * 1e6 --Multiply by one million
 													end
 												else
 													digit1, digit2, digit3 = T.match(tooltipText,"(%d+)[%p%s]?(%d+)[%p%s]?(%d+)")