For the record, I commented out the lines 170-172 in the DUF_set.lua:
-- if (UnitIsCivilian(unit)) then
-- texture:SetTexCoord(0, 1, 0, 1);
-- texture:SetTexture("Interface\\AddOns\\DiscordUnitFrames\\Icons\\Civilian")
And changed line 173 to:
if (race and sex) then
And it fixed the error, so I'm suspecting they did make a change to UnitIsCivilian(unit) in the latest patch lua.
|