Fix for use alt button
GennPen opened this issue ยท 1 comments
2nd button doesn't work if use 2 buttons for EXTRAACTIONBUTTON1.
local key = GetBindingKey('EXTRAACTIONBUTTON1')
if(key) then
self:SetBindingClick(1, key, self, 'LeftButton')
end
Fix:
local key1, key2 = GetBindingKey('EXTRAACTIONBUTTON1')
if(key1) then
self:SetBindingClick(1, key1, self, 'LeftButton')
end
if(key2) then
self:SetBindingClick(2, key2, self, 'LeftButton')
end