From 1dac21acd2985bdd0b1b7b301ee8c6cdc8fc2c91 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 3 Jan 2017 16:07:53 +0100 Subject: [PATCH] nameplates: do not fake right-click behaviour --- modules/nameplates.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 20fb2af8..22746697 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -88,11 +88,7 @@ pfUI:RegisterModule("nameplates", function () nameplate:EnableMouse(true) if pfUI_config.nameplates["rightclick"] == "1" then nameplate:SetScript("OnMouseDown", function() - if arg1 and arg1 == "RightButton" then - this:Click("LeftButton") - AttackTarget() - MouselookStart() - end + if arg1 and arg1 == "RightButton" then MouselookStart() end end) end else