diff RatPageModel.lua @ 29:e8a004a4177b

Merged the ProfileKeyBindings and WowCommands variables (they were pointing at the same value).
author madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09
date Thu, 25 Apr 2013 01:31:06 +0000
parents b7074b47cfc7
children 6ce173840e68
line wrap: on
line diff
--- a/RatPageModel.lua	Thu Apr 25 01:31:01 2013 +0000
+++ b/RatPageModel.lua	Thu Apr 25 01:31:06 2013 +0000
@@ -121,7 +121,7 @@
 	self.data[mode][button] = object
 
 	if object then
-		object:SetBinding(CyborgMMO_WowCommands[((mode-1)*RAT7.BUTTONS)+button])
+		object:SetBinding(CyborgMMO_ProfileKeyBindings[((mode-1)*RAT7.BUTTONS)+button])
 		if("callback" == object.Type) then
 			CyborgMMO_DPrint("trying to set texture")
 			local slot = getglobal("CyborgMMO_MainPageSlotListSlot"..button)
@@ -129,7 +129,7 @@
 		end
 	else
 		CyborgMMO_DPrint("clearing "..button)
-		CyborgMMO_ClearBinding(CyborgMMO_WowCommands[((mode-1)*RAT7.BUTTONS)+button])
+		CyborgMMO_ClearBinding(CyborgMMO_ProfileKeyBindings[((mode-1)*RAT7.BUTTONS)+button])
 	end
 end