From 49526e3a90f310dd7602d3a2cbb15df8b72986d9 Mon Sep 17 00:00:00 2001 From: ackis Date: Tue, 9 Jun 2009 02:28:53 +0000 Subject: [PATCH] fix tooltip scanning wrt to classes, no class found => all class flags set. --- ARLDatamine.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 448f95e..f56f060 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -2402,8 +2402,10 @@ do end else -- Recipe is not class specific for k, v in ipairs(ORDERED_CLASS_TYPES) do - if flags[CLASS_TYPES[v]] then - tinsert(extra_flags, tostring(CLASS_TYPES[v]).." ("..v..")") +-- if flags[CLASS_TYPES[v]] then +-- tinsert(extra_flags, tostring(CLASS_TYPES[v]).." ("..v..")") + if scan_data[v] and not flags[CLASS_TYPES[v]] then + tinsert(missing_flags, tostring(CLASS_TYPES[v]).." ("..v..")") end end end -- 1.7.9.5