Fixed a 'compile' error.
Cette révision appartient à :
Parent
d76e17c0a6
révision
bb2100b4ae
|
@ -27,17 +27,6 @@ local function Tooltipy(self)
|
|||
local skintype = nil
|
||||
|
||||
local lines = GameTooltip:NumLines()
|
||||
--[[
|
||||
if lines == 2 then -- see if we're mine or herb
|
||||
for k, v in pairs(minetypes) do
|
||||
if _G["GameTooltipTextLeft2"]:GetText() == v then
|
||||
skintype = k
|
||||
end
|
||||
end
|
||||
if not skintype then return end -- we are neither!
|
||||
elseif lines == 0 then -- this isn't much of anything, is it
|
||||
return
|
||||
end]]
|
||||
|
||||
if not skintype then
|
||||
local cline = 2
|
||||
|
@ -77,15 +66,6 @@ local function Tooltipy(self)
|
|||
if not QHCO[name] then QHCO[name] = {} end
|
||||
local qhci = QHCO[name]
|
||||
|
||||
--[[
|
||||
for k, _ in pairs(minetypes) do
|
||||
if k == skintype then
|
||||
qhci[k .. "_yes"] = (qhci[k .. "_yes"] or 0) + 1
|
||||
else
|
||||
qhci[k .. "_no"] = (qhci[k .. "_no"] or 0) + 1
|
||||
end
|
||||
end]]
|
||||
|
||||
-- We have no unique identifier, so I'm just going to record every position we see. That said, I wonder if it's a good idea to add a cooldown.
|
||||
-- Obviously, we also have no possible range data, so, welp.
|
||||
local loc = GetLoc()
|
||||
|
@ -100,7 +80,7 @@ local function Tooltipy(self)
|
|||
end
|
||||
end
|
||||
end
|
||||
if not contained then table.insert(qhci, loc)
|
||||
if not contained then table.insert(qhci, loc) end
|
||||
--Merger.Add(qhci, "(" .. GetLoc() .. ")", true)
|
||||
end
|
||||
end
|
||||
|
|
Référencer dans un nouveau ticket