Quantcast

Fixed smart colouring to not switch colours properly for shift

Christopher Tse [11-11-21 - 04:58]
Fixed smart colouring to not switch colours properly for shift
Filename
MainFrame.lua
diff --git a/MainFrame.lua b/MainFrame.lua
index 3e7400d..3aff316 100644
--- a/MainFrame.lua
+++ b/MainFrame.lua
@@ -119,7 +119,7 @@ function checkSmartTargetColoring()
 	if not settings.get("SMART_COLORING") then
 		return
 	end
-	if IsShiftKeyDown() or IsControlKeyDown() and SayColorSelected() then
+	if (IsShiftKeyDown() or IsControlKeyDown()) and SayColorSelected() then
 		if not smartTargetColoringActive then
 			smartTargetColoringActive = true;
 			savedColor = settings.get("SELECTED_COLOR");