bugfix: ItemOutline crashing
This commit is contained in:
@@ -27,6 +27,8 @@ func highlight(value: bool):
|
|||||||
func _process(_delta: float):
|
func _process(_delta: float):
|
||||||
# if not escoria.action_manager.is_object_actionable(get_global_id()):
|
# if not escoria.action_manager.is_object_actionable(get_global_id()):
|
||||||
# return
|
# return
|
||||||
|
if not outline is ItemOutline:
|
||||||
|
return
|
||||||
if isHighlighted != lastHighlightState:
|
if isHighlighted != lastHighlightState:
|
||||||
if isHighlighted:
|
if isHighlighted:
|
||||||
outline.show()
|
outline.show()
|
||||||
|
|||||||
Reference in New Issue
Block a user