* Fixed a bug where highlight options were not saving when in the off state
James Whitehead II [11-14-07 - 17:01]
* Fixed a bug where highlight options were not saving when in the off state
diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua
index daf1d63..63299f0 100644
--- a/PerfectRaid_Buffs.lua
+++ b/PerfectRaid_Buffs.lua
@@ -801,11 +801,11 @@ function Buffs:CreateOptions_Highlight(opt)
save:Show()
function options:SaveOptions()
- local mouseover = PRHighlight_Mouseover:GetChecked()
- local disease = PRHighlight_Disease:GetChecked()
- local curse = PRHighlight_Curse:GetChecked()
- local magic = PRHighlight_Magic:GetChecked()
- local poison = PRHighlight_Poison:GetChecked()
+ local mouseover = PRHighlight_Mouseover:GetChecked() and true or false
+ local disease = PRHighlight_Disease:GetChecked() and true or false
+ local curse = PRHighlight_Curse:GetChecked() and true or false
+ local magic = PRHighlight_Magic:GetChecked() and true or false
+ local poison = PRHighlight_Poison:GetChecked() and true or false
PerfectRaid.db.profile.highlight.mouseover = mouseover
PerfectRaid.db.profile.highlight.disease = disease