update
This commit is contained in:
@@ -39,8 +39,10 @@ func _input(event: InputEvent) -> void:
|
||||
show_context_menu.emit()
|
||||
|
||||
func _on_interact(person, object):
|
||||
object.start_action(person, object)
|
||||
|
||||
if object.name == "ActionNode":
|
||||
object.start_action(person, object)
|
||||
else:
|
||||
object.ActionNode.start_action(person, object)
|
||||
|
||||
func _on_object_selected(object):
|
||||
if object_selected != null and object != object_selected:
|
||||
|
||||
Reference in New Issue
Block a user