From 5a22cfe2f0dc37aa8898b5418658bc12fe6ea2b9 Mon Sep 17 00:00:00 2001 From: Christopher Tse Date: Thu, 11 Nov 2021 15:58:20 +1100 Subject: [PATCH] Fixed smart colouring to not switch colours properly for shift --- MainFrame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 1.7.9.5