diff CyborgMMO7.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 3b1c0b676583
children ea423ee3a8c1
line wrap: on
line diff
--- a/CyborgMMO7.lua	Thu Apr 25 01:31:01 2013 +0000
+++ b/CyborgMMO7.lua	Thu Apr 25 01:31:06 2013 +0000
@@ -80,20 +80,12 @@
 	end
 end
 
-function CyborgMMO_LoadWowCommands()
-	if not CyborgMMO_ProfileKeyBindings then
-		CyborgMMO_ProfileKeyBindings = CyborgMMO_DefaultWowCommands
-	end
-	CyborgMMO_WowCommands = CyborgMMO_ProfileKeyBindings
-end
-
 function CyborgMMO_GetSaveData()
 	if VarsLoaded then
 		if not CyborgMMO7SaveData then
 			CyborgMMO7SaveData = {}
 			CyborgMMO7SaveData[SaveName] = {}
 		end
-		CyborgMMO_LoadWowCommands()
 		return CyborgMMO7SaveData[SaveName]
 	end
 	return nil
@@ -102,7 +94,6 @@
 function CyborgMMO_SetSaveData(data, index)
 	if VarsLoaded then
 		CyborgMMO_GetSaveData()[index] = data
-		CyborgMMO_ProfileKeyBindings = CyborgMMO_WowCommands
 	end
 end