bugfix: ItemOutline crashing

This commit is contained in:
2023-10-26 22:54:30 +02:00
parent 9c0af41ddd
commit 8138d3055b

View File

@@ -27,6 +27,8 @@ func highlight(value: bool):
func _process(_delta: float):
# if not escoria.action_manager.is_object_actionable(get_global_id()):
# return
if not outline is ItemOutline:
return
if isHighlighted != lastHighlightState:
if isHighlighted:
outline.show()