Combat Mode

Combat Mode

9.4k Downloads

Bug in setter & getter funcs for altbutton1 and shiftbutton1

sampconrad opened this issue ยท 1 comments

commented

They're both setting the value of altbutton1

altbutton1 = {
	name = "Alt + Left Click",
	desc = "Alt + Left Click",
	type = "select",
	width = "full",
	order = 5,
	values = defaultButtonValues,
	set = function(info, value)
		self.db.profile.bindings.altbutton1.value = value
	end,
	get = function()
		return self.db.profile.bindings.altbutton1.value
	end
},	#

shiftbutton1 = {
	name = "Shift + Left Click",
	desc = "Shift + Left Click",
	type = "select",
	width = "full",
	order = 7,
	values = defaultButtonValues,
	set = function(info, value)
		self.db.profile.bindings.altbutton1.value = value
	end,
	get = function()
		return self.db.profile.bindings.altbutton1.value
	end
},	
commented

Solved in a future WIP PR.