Skip to content

Commit

Permalink
Fix info_queue on custom enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Eremel committed Dec 22, 2024
1 parent cfbbf24 commit 3dfd2a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game_object.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1158,8 +1158,8 @@ Set `prefix_config.key = false` on your object instead.]]):format(obj.key), obj.
target.scale = res.scale
target.text_colour = res.text_colour
end
if desc_nodes == full_UI_table.main and not full_UI_table.name and self.set ~= 'Enhanced' then
full_UI_table.name = localize { type = 'name', set = target.set, key = target.key, nodes = full_UI_table.name }
if desc_nodes == full_UI_table.main and not full_UI_table.name then
full_UI_table.name = self.set == 'Enhanced' and 'temp_value' or localize { type = 'name', set = target.set, key = target.key, nodes = full_UI_table.name }
elseif desc_nodes ~= full_UI_table.main and not desc_nodes.name and self.set ~= 'Enhanced' then
desc_nodes.name = localize{type = 'name_text', key = target.key, set = target.set }
end
Expand Down
2 changes: 1 addition & 1 deletion version.lua
Original file line number Diff line number Diff line change
@@ -1 +1 @@
return "1.0.0~ALPHA-1221d-STEAMODDED"
return "1.0.0~ALPHA-1222a-STEAMODDED"

0 comments on commit 3dfd2a3

Please sign in to comment.