Commit f4788204 authored by Caedis's avatar Caedis
Browse files

Muted Master Vol = all red

parent e2a19f01
......@@ -46,7 +46,7 @@ local function GetStatusColor(vol, text)
text = vol.Name
end
return format('|cFF%s%s|r',(getCV(vol.CVs.Volume) == '0' or not vol.Enabled) and 'FF0000' or '00FF00', text)
return format('|cFF%s%s|r',(getCV(volumeCVars[1].CVs.Enabled) == '0' or getCV(vol.CVs.Volume) == '0' or not vol.Enabled) and 'FF0000' or '00FF00', text)
end
local function OnEnter(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment