diff Localisation.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 da9c4373da48
children c9706291c141
line wrap: on
line diff
--- a/Localisation.lua	Thu Apr 25 01:31:01 2013 +0000
+++ b/Localisation.lua	Thu Apr 25 01:31:06 2013 +0000
@@ -56,7 +56,7 @@
 	},
 }
 
-local DefaultWowCommands = {
+local DefaultKeyBindings = {
 	["enUS"] = {
 		"ALT-CTRL-NUMPAD1",
 		"ALT-CTRL-NUMPAD2",
@@ -440,9 +440,11 @@
 local default_locale = 'enUS'
 
 CyborgMMO_Mode = Modes[locale] or Modes[default_locale]
-CyborgMMO_DefaultWowCommands = DefaultWowCommands[locale] or DefaultWowCommands[default_locale]
 CyborgMMO_StringTable = StringTables[locale] or StringTables[default_locale]
 
+-- key bindings are saved and will be replaced by SavedVariables
+CyborgMMO_ProfileKeyBindings = DefaultKeyBindings[locale] or DefaultKeyBindings[default_locale]
+
 if locale ~= default_locale then
 	setmetatable(CyborgMMO_StringTable, {__index=StringTables[default_locale]})
 end