CHANGE TO escoria-core. Added ESCItem.tooltip2_name

This commit is contained in:
eneko committed 2023-02-10 20:08:10 +01:00
1 parent 8c1e59a40c
commit 91faea0a6e
3 files changed
+5 -10

No files matched your search

@@ -221,8 +221,7 @@ func element_focused(element_id: String) -> void:
)
var target_obj = escoria.object_manager.get_object(element_id).node
$tooltip_layer/tooltip.set_target(target_obj.action1 + " " + target_obj.action2)
# $tooltip_layer/tooltip.set_target(target_obj.tooltip_name)
$tooltip_layer/tooltip.set_target(target_obj.tooltip_name + " " + target_obj.tooltip2_name)
if escoria.action_manager.current_action != VERB_USE \
and escoria.action_manager.current_tool == null \