Work on full profile and on switching the window state
This commit is contained in:
@@ -55,7 +55,7 @@ func approach(pos : Vector2) -> void:
|
||||
|
||||
func approach_and_interact(obj : Interactable) -> void:
|
||||
var t : Vector2 = obj.global_position
|
||||
if obj.has("queue") and obj.queue != null:
|
||||
if "queue" in obj and obj.queue != null:
|
||||
t = obj.queue.global_position
|
||||
set_movement_target(obj.global_position)
|
||||
nav_agent.target_desired_distance = interaction_range - 5
|
||||
|
||||
Reference in New Issue
Block a user