Quantcast

Fix improper checkbox name in shaman and druid scripts.

Johnny C. Lam [07-19-14 - 00:26]
Fix improper checkbox name in shaman and druid scripts.

The improper name was causing a blank checkbox to be generated in the
options menu.
Filename
scripts/ovale_druid.lua
scripts/ovale_shaman.lua
diff --git a/scripts/ovale_druid.lua b/scripts/ovale_druid.lua
index 3af9eac..2d2a1cb 100644
--- a/scripts/ovale_druid.lua
+++ b/scripts/ovale_druid.lua
@@ -858,7 +858,7 @@ AddIcon specialization=guardian help=main checkbox=opt_druid_guardian
 	GuardianMainActions()
 }

-AddIcon specialization=guardian help=aoe checkbox=aoe checkbox=opt_druid_guardian
+AddIcon specialization=guardian help=aoe checkbox=opt_aoe checkbox=opt_druid_guardian
 {
 	GuardianAoeActions()
 }
diff --git a/scripts/ovale_shaman.lua b/scripts/ovale_shaman.lua
index 5811d3e..fbd1553 100644
--- a/scripts/ovale_shaman.lua
+++ b/scripts/ovale_shaman.lua
@@ -177,7 +177,7 @@ AddIcon specialization=elemental help=main checkbox=opt_shaman_elemental
 	ElementalSingleActions()
 }

-AddIcon specialization=elemental help=aoe checkbox=aoe checkbox=opt_shaman_elemental
+AddIcon specialization=elemental help=aoe checkbox=opt_aoe checkbox=opt_shaman_elemental
 {
 	ElementalPrecombatActions()
 	ElementalDefaultActions()
@@ -417,7 +417,7 @@ AddIcon specialization=enhancement help=main checkbox=opt_shaman_enhancement
 	EnhancementSingleActions()
 }

-AddIcon specialization=enhancement help=aoe checkbox=aoe checkbox=opt_shaman_enhancement
+AddIcon specialization=enhancement help=aoe checkbox=opt_aoe checkbox=opt_shaman_enhancement
 {
 	EnhancementPrecombatActions()
 	EnhancementDefaultActions()
@@ -525,7 +525,7 @@ AddIcon specialization=restoration help=main checkbox=opt_shaman_restoration
 	RestorationMainActions()
 }

-AddIcon specialization=restoration help=aoe checkbox=aoe checkbox=opt_shaman_restoration
+AddIcon specialization=restoration help=aoe checkbox=opt_aoe checkbox=opt_shaman_restoration
 {
 	RestorationAoeActions()
 }