聊天重做前缓存

This commit is contained in:
rucky
2026-04-09 09:46:47 +08:00
parent 6e18269bfd
commit e915bbd74a
39 changed files with 8501 additions and 2308 deletions

View File

@@ -1364,20 +1364,6 @@ function GS:HookTooltips()
end
end
local origRef = SetItemRef
if origRef then
SetItemRef = function(link, text, button)
origRef(link, text, button)
if IsAltKeyDown() or IsShiftKeyDown() or IsControlKeyDown() then return end
pcall(function()
local _, _, itemStr = string.find(link or "", "(item:[%-?%d:]+)")
if itemStr then
ItemRefTooltip._gsScoreAdded = nil
GS:AddScoreToTooltip(ItemRefTooltip, itemStr)
end
end)
end
end
end
--------------------------------------------------------------------------------