Skip to content

Commit 7dd4fe6

Browse files
committed
Temporary fix for orphaned text
In theory, any code that crashes after this commit was already going to crash
1 parent 63364da commit 7dd4fe6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lovely/center.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ elseif _c.generate_ui and type(_c.generate_ui) == 'function' then
106106
if is_info_queue then specific_vars.is_info_queue = true end
107107
_c:generate_ui(info_queue, card, desc_nodes, specific_vars, full_UI_table)
108108
if is_info_queue then
109-
desc_nodes.loc_name = {}
110-
local set = name_override and "Other" or _c.set
111-
local key = name_override or _c.key
112-
if set == "Seal" then
113-
if G.localization.descriptions["Other"][_c.key.."_seal"] then set = "Other"; key = key.."_seal" end
114-
else
115-
if not G.localization.descriptions[set] or not G.localization.descriptions[set][_c.key] then set = "Other" end
116-
end
109+
--desc_nodes.loc_name = {}
110+
--local set = name_override and "Other" or _c.set
111+
--local key = name_override or _c.key
112+
--if set == "Seal" then
113+
-- if G.localization.descriptions["Other"][_c.key.."_seal"] then set = "Other"; key = key.."_seal" end
114+
--else
115+
-- if not G.localization.descriptions[set] or not G.localization.descriptions[set][_c.key] then set = "Other" end
116+
--end
117117
118118
--localize{type = 'name', key = key, set = set, nodes = desc_nodes.loc_name, fixed_scale = 0.63, no_pop_in = true, no_shadow = true, y_offset = 0, no_spacing = true, no_bump = true, vars = (_c.create_fake_card and _c.loc_vars and (_c:loc_vars({}, _c:create_fake_card()) or {}).vars) or {colours = {}}}
119119
--desc_nodes.loc_name = SMODS.info_queue_desc_from_rows(desc_nodes.loc_name, true)

0 commit comments

Comments
 (0)