Fix tooltip crash on beta

Fixes #8941
This commit is contained in:
LocalIdentity
2025-08-11 22:52:38 +10:00
parent ab40a67e9c
commit 3fc89b59ac

View File

@@ -255,7 +255,7 @@ function NotableDBClass:AddValueTooltip(tooltip, index, node)
tooltip:AddLine(16, "")
for i, line in ipairs(node.sd) do
if line ~= " " and (node.mods[i].extra or not node.mods[i].list) then
local line = colorCodes.UNSUPPORTED..modLine.line
local line = colorCodes.UNSUPPORTED..line
line = main.notSupportedModTooltips and (line .. main.notSupportedTooltipText) or line
tooltip:AddLine(16, line)
else