Fix syntax errors
His Dad [12-28-14 - 02:21]
diff --git a/Language/en.lua b/Language/en.lua
index c1c17c6..fb630e4 100644
--- a/Language/en.lua
+++ b/Language/en.lua
@@ -4,9 +4,9 @@ function CRT.InitialiseLanguage()
CRT.L = {}
-- Settings / Config menu stuff
- CRL.L["PanelHeading"] = "|c96FF00Craft Research Timer|r Settings"
- CRT.L["General Options"] = "|c45D7F7General Options|r"
- CRT.L["Keybinds"] = "|c45D7F7Keybinds|r"
+ CRT.L["PanelHeading"] = "|c96FF00Craft Research Timer|r Settings"
+ CRT.L["General Options"] = "|c45D7F7General Options|r"
+ CRT.L["Keybinds"] = "|c45D7F7Keybinds|r"
@@ -14,6 +14,6 @@ function CRT.InitialiseLanguage()
CRT.L["BS"] = "BLACKSMITHING"
CRT.L["Woodwork"] = "WOODWORKING"
- CRT.L["Finished"] ="|cFF0000Finished|r"
- CRT.L["Completed"] ="Research completed on"
+ CRT.L["Finished"] = "|cFF0000Finished|r"
+ CRT.L["Completed"] = "Research completed on"
end
diff --git a/lua/ALERT.lua b/lua/ALERT.lua
index a8cae7e..7c184a1 100644
--- a/lua/ALERT.lua
+++ b/lua/ALERT.lua
@@ -85,7 +85,7 @@ function CRT.ALERT_Update(timestamp)
CRT.SV.data.Craft[CRT.playername]["Start"] = false
CRT.Research_Alert(CRT.playername, nil, nil, true)
for j, _ in pairs(CRT.SV.data.Craft) do
- if ((k ~= CRT.playername) and (CRT.SV.data.Craft[k][0]].Simu_craft ~= 0 or CRT.SV.data.Craft[k][1].Simu_craft ~= 0 or CRT.SV.data.Craft[k][2]].Simu_craft ~= 0)) then
+ if ((k ~= CRT.playername) and (CRT.SV.data.Craft[k][0].Simu_craft ~= 0 or CRT.SV.data.Craft[k][1].Simu_craft ~= 0 or CRT.SV.data.Craft[k][2].Simu_craft ~= 0)) then
CRT.Research_Alert(k, nil, nil, true)
end
end
diff --git a/lua/CraftResearchTimer.lua b/lua/CraftResearchTimer.lua
index 03c69d2..3e58cdc 100644
--- a/lua/CraftResearchTimer.lua
+++ b/lua/CraftResearchTimer.lua
@@ -22,7 +22,7 @@ function CRT.Init(eventCode, addOnName)
-- SavedVariables
CRT.SV.Settings = ZO_SavedVars:New(CRT.svName, CRT.svVersion*100, nil, CRT.svDefaults, nil)
CRT.SV.data = ZO_SavedVars:NewAccountWide(CRT.svName, 2, nil, CRT.data_defaults,nil )
- CRT.InitialiseLanguage()
+ CRT.InitialiseLanguage()
--get rid of bad "version" key from CRT releases prior to this one
-- CRT.SV.data.Craft.versionx = nil
-- CRT.SV.Hireling_data.versionxx = nil