Quantcast

Fixed a case where we would try the wrong colors for sha-touched sockets

Kevin Lyles [01-01-14 - 16:33]
Fixed a case where we would try the wrong colors for sha-touched sockets
Filename
WeightsWatcher.lua
diff --git a/WeightsWatcher.lua b/WeightsWatcher.lua
index 9391059..34d2298 100644
--- a/WeightsWatcher.lua
+++ b/WeightsWatcher.lua
@@ -101,7 +101,7 @@ local ww_weightIdealCacheWeightMetatable = {
 			table.insert(bestGems, idealGems[color])
 			gemScore = gemScore + idealGems[color .. "Score"]
 			if breakSocketColors then
-				if color ~= "meta" and color ~= "cogwheel" then
+				if color ~= "meta" and color ~= "cogwheel" and color ~= "sha-touched" then
 					color = "prismatic"
 				end
 				table.insert(bestGemsIgnoreSocket, idealGems[color])