Questie

Questie

116M Downloads

This if should be outside of loop OR it should compare to v?

Laumesis opened this issue ยท 0 comments

commented

This doesn't seem to make sense. if should be outside of the inner for loop or it should compare to v or something else. ?

for _, v in pairs (tooltipData) do
if tooltipData[2] and string.find(tooltipData[2], "1/1") then
-- We don't want to show completed objectives on game objects
break;
end
GameTooltip:AddLine(v)
tooltipAdded = true
end

v6.5.1