Clean up some issues #8

Merged
atomaka merged 3 commits from cleanup-conditionals into master 2021-02-08 18:34:29 -05:00
Showing only changes of commit ee9db0510b - Show all commits

View file

@ -135,11 +135,7 @@ function MyAddon.amTankInParty()
local isTank = UnitGroupRolesAssigned("player") == "TANK"
local notAlreadyMarked = GetRaidTargetIndex("player") == nil
if (isParty and isTank and notAlreadyMarked) then
return true
else
return false
end
return isParty and isTank and notAlreadyMarked
end
function MyAddon.markSelfSquare()